From a68bf12a2975405f57f9a9d51b91c13a93c026f0 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 31 一月 2024 21:01:36 +0800
Subject: [PATCH] Mr.Shi
---
company/src/plugins/messagebox.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/company/src/plugins/messagebox.js b/company/src/plugins/messagebox.js
index be2c47b..c7a6b80 100644
--- a/company/src/plugins/messagebox.js
+++ b/company/src/plugins/messagebox.js
@@ -49,6 +49,14 @@
type: 'warning'
})
},
+ // 闂嵎纭疄鎻愰啋
+ messageConfirm (message, confirmText='纭畾', cancelText='鍙栨秷') {
+ return MessageBox.confirm(message, "鎿嶄綔纭", {
+ confirmButtonText: confirmText,
+ cancelButtonText: cancelText,
+ type: 'warning'
+ })
+ },
// 纭鏄惁鏈嶅姟璇ヤ紒涓�
cancelOrder (message) {
return MessageBox.confirm(message, '鍙栨秷鎻愮ず', {
--
Gitblit v1.9.3