保存进度!

This commit is contained in:
2023-01-30 23:25:57 +08:00
parent 30b0304309
commit d0d143d916
3 changed files with 26 additions and 9 deletions

View File

@@ -2,17 +2,27 @@
* @Author: Kane
* @Date: 2023-01-30 17:06:10
* @LastEditors: Kane
* @LastEditTime: 2023-01-30 21:42:50
* @LastEditTime: 2023-01-30 22:57:51
* @FilePath: \IT工具综合平台\src\utils\global.js
* @Description: 全局方法
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { ElMessageBox } from "element-plus";
const globalFunction = {
deleteConfirm: (param) =>
deleteConfirm: () =>
{
console.log("删除确认", param);
ElMessageBox.confirm("确认删除当前数据吗,删除后无法恢复!", "提示",
{
confirmButtonText: "确定",
cancelButtonText: "取消",
showClose: false,
closeOnClickModal: false,
closeOnPressEscape: false,
type: "warning",
}
).then(()=>{});
},
message: (param) =>
{