From cb623fcefa72d5b54b1e536aa84c3f3851743975 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 20 十一月 2024 11:01:43 +0800
Subject: [PATCH] update 打印可能的空白(不能确定是不是纸张大小超出还是空数据的问题,已经提交了

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

diff --git a/plugins/message.js b/plugins/message.js
index ba0680b..6315163 100644
--- a/plugins/message.js
+++ b/plugins/message.js
@@ -6,7 +6,7 @@
 			title,
 			icon: 'none',
 			mask: false,
-			duration: 1500,
+			duration: 1200,
 			position: 'center'
 		}
 		if (options && options.image) {
@@ -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