Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2025-11-19 14:17:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5db10a974a8256040957bfbe883342d6c1426427
5db10a97
1 parent
9da5bdfb
fix: 修改未完成表单对话框的按钮文本
将取消按钮文本从"删除"改为"重新填写",并添加确认按钮文本"继续"
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
src/router.js
src/utils/dialogControl.js
src/router.js
View file @
5db10a9
/*
* @Date: 2022-05-26 13:57:28
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-11-
06 10:58:08
* @LastEditTime: 2025-11-
19 14:17:04
* @FilePath: /data-table/src/router.js
* @Description: 文件描述
*/
...
...
@@ -236,7 +236,8 @@ router.beforeEach((to, from, next) => {
title
:
'温馨提示'
,
message
:
'您还未完成的表单,是否继续?'
,
confirmButtonColor
:
styleColor
.
baseColor
,
cancelButtonText
:
'删除'
,
cancelButtonText
:
'重新填写'
,
confirmButtonText
:
'继续'
,
closeOnPopstate
:
false
,
})
.
then
(()
=>
{
...
...
src/utils/dialogControl.js
View file @
5db10a9
/*
* @Date: 2025-09-10 10:54:52
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-
09-11 17:13:28
* @LastEditTime: 2025-
11-19 14:17:17
* @FilePath: /data-table/src/utils/dialogControl.js
* @Description: 文件描述
*/
...
...
@@ -73,7 +73,8 @@ export function showUnfinishedFormDialog(onConfirm, onCancel, currentCode) {
title
:
'温馨提示'
,
message
:
'您还未完成的表单,是否继续?'
,
confirmButtonColor
:
styleColor
.
baseColor
,
cancelButtonText
:
'删除'
,
cancelButtonText
:
'重新填写'
,
confirmButtonText
:
'继续'
,
closeOnPopstate
:
false
,
})
.
then
(()
=>
{
...
...
Please
register
or
login
to post a comment