hookehuyr

fix: 修改未完成表单对话框的按钮文本

将取消按钮文本从"删除"改为"重新填写",并添加确认按钮文本"继续"
1 /* 1 /*
2 * @Date: 2022-05-26 13:57:28 2 * @Date: 2022-05-26 13:57:28
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-11-06 10:58:08 4 + * @LastEditTime: 2025-11-19 14:17:04
5 * @FilePath: /data-table/src/router.js 5 * @FilePath: /data-table/src/router.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -236,7 +236,8 @@ router.beforeEach((to, from, next) => { ...@@ -236,7 +236,8 @@ router.beforeEach((to, from, next) => {
236 title: '温馨提示', 236 title: '温馨提示',
237 message: '您还未完成的表单,是否继续?', 237 message: '您还未完成的表单,是否继续?',
238 confirmButtonColor: styleColor.baseColor, 238 confirmButtonColor: styleColor.baseColor,
239 - cancelButtonText: '删除', 239 + cancelButtonText: '重新填写',
240 + confirmButtonText: '继续',
240 closeOnPopstate: false, 241 closeOnPopstate: false,
241 }) 242 })
242 .then(() => { 243 .then(() => {
......
1 /* 1 /*
2 * @Date: 2025-09-10 10:54:52 2 * @Date: 2025-09-10 10:54:52
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-11 17:13:28 4 + * @LastEditTime: 2025-11-19 14:17:17
5 * @FilePath: /data-table/src/utils/dialogControl.js 5 * @FilePath: /data-table/src/utils/dialogControl.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -73,7 +73,8 @@ export function showUnfinishedFormDialog(onConfirm, onCancel, currentCode) { ...@@ -73,7 +73,8 @@ export function showUnfinishedFormDialog(onConfirm, onCancel, currentCode) {
73 title: '温馨提示', 73 title: '温馨提示',
74 message: '您还未完成的表单,是否继续?', 74 message: '您还未完成的表单,是否继续?',
75 confirmButtonColor: styleColor.baseColor, 75 confirmButtonColor: styleColor.baseColor,
76 - cancelButtonText: '删除', 76 + cancelButtonText: '重新填写',
77 + confirmButtonText: '继续',
77 closeOnPopstate: false, 78 closeOnPopstate: false,
78 }) 79 })
79 .then(() => { 80 .then(() => {
......