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 11:41:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
52eb77026acbfce13afdce84179b35a1e74cc345
52eb7702
1 parent
47e8c921
fix(主题): 使用主题变量替换确认对话框的按钮颜色
feat(组件): 添加VanDatetimePicker组件类型声明
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/App.vue
src/components.d.ts
src/App.vue
View file @
52eb770
...
...
@@ -63,7 +63,7 @@ if (import.meta.env.PROD) {
showConfirmDialog({
title: '温馨提示',
message: '检测到新版本,是否刷新页面!',
confirmButtonColor:
'#4caf50'
confirmButtonColor:
themeVars.primaryColor
}).then(() => {
window.location.reload();
});
...
...
src/components.d.ts
View file @
52eb770
...
...
@@ -44,6 +44,7 @@ declare module 'vue' {
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanConfigProvider
:
typeof
import
(
'vant/es'
)[
'ConfigProvider'
]
VanDatePicker
:
typeof
import
(
'vant/es'
)[
'DatePicker'
]
VanDatetimePicker
:
typeof
import
(
'vant/es'
)[
'DatetimePicker'
]
VanDialog
:
typeof
import
(
'vant/es'
)[
'Dialog'
]
VanDivider
:
typeof
import
(
'vant/es'
)[
'Divider'
]
VanDropdownItem
:
typeof
import
(
'vant/es'
)[
'DropdownItem'
]
...
...
Please
register
or
login
to post a comment