Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-15 10:13:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
47e8c92127770c4cec92bc8a579fbddef552e889
47e8c921
1 parent
9d486d0f
fix: 将确认对话框按钮颜色改为绿色
更新生产环境版本检测提示的确认按钮颜色,使用更通用的绿色(#4caf50)替代原有的baseColor
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/App.vue
src/App.vue
View file @
47e8c92
<!--
* @Date: 2025-03-20 19:53:12
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-15 10:
02:51
* @LastEditTime: 2025-10-15 10:
11:57
* @FilePath: /mlaj/src/App.vue
* @Description: 入口文件
-->
...
...
@@ -9,7 +9,7 @@
import { RouterView } from "vue-router";
import { provideAuth } from "@/contexts/auth";
import { provideCart } from "@/contexts/cart";
import { ConfigProvider as VanConfigProvider } from 'vant';
import { ConfigProvider as VanConfigProvider
, showConfirmDialog
} from 'vant';
import { themeVars } from './vant.config';
// 会根据配置判断是否显示调试控件
// eslint-disable-next-line no-unused-vars
...
...
@@ -63,7 +63,7 @@ if (import.meta.env.PROD) {
showConfirmDialog({
title: '温馨提示',
message: '检测到新版本,是否刷新页面!',
confirmButtonColor:
styleColor.baseColor
confirmButtonColor:
'#4caf50'
}).then(() => {
window.location.reload();
});
...
...
Please
register
or
login
to post a comment