From 17bb1250f2120415e5fc9f47fe50b60f72b47a07 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期日, 04 八月 2024 12:50:01 +0800
Subject: [PATCH] update 优化搜索事件

---
 plugins/message.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/message.js b/plugins/message.js
index b827614..a6738c4 100644
--- a/plugins/message.js
+++ b/plugins/message.js
@@ -6,7 +6,7 @@
 			title,
 			icon: 'none',
 			mask: false,
-			duration: 1500,
+			duration: 2000,
 			position: 'center'
 		}
 		if (options && options.image) {
@@ -74,7 +74,7 @@
 				...options,
 				success: (res) => {
 					if (res.confirm) {
-						resolve()
+						resolve(res)
 					}
 					if (res.cancel) {
 						reject()

--
Gitblit v1.9.3