From 9a2263d17e8f042522f169a334a1bdb822a978d7 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期四, 01 八月 2024 00:24:27 +0800 Subject: [PATCH] 1 --- plugins/message.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/message.js b/plugins/message.js index ba0680b..d67af39 100644 --- a/plugins/message.js +++ b/plugins/message.js @@ -44,7 +44,7 @@ content, showCancel: false, confirmText: '确定', - confirmColor: '#04BA97' + confirmColor: '#20613D' } options = Object.assign({}, initOptions, options) return new Promise((resolve) => { @@ -66,7 +66,7 @@ cancelText: '取消', cancelColor: '#000000', confirmText: '确定', - confirmColor: '#04BA97' + confirmColor: '#20613D' } options = Object.assign({}, initOptions, options) return new Promise((resolve, reject) => { @@ -74,7 +74,7 @@ ...options, success: (res) => { if (res.confirm) { - resolve() + resolve(res) } if (res.cancel) { reject() -- Gitblit v1.9.3