hookehuyr

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

将取消按钮文本从"删除"改为"重新填写",并添加确认按钮文本"继续"
/*
* @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(() => {
......
/*
* @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(() => {
......