From 8c9ec65045d861a1082a6929a8f3413b3c5cd7f6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 28 八月 2022 00:35:41 +0800
Subject: [PATCH] 2022-08-28

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 02499a5..9ced478 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -238,7 +238,7 @@
 
     let _this = this
     let data = record || selectedData || []
-    
+
     if (btn.Ot !== 'notRequired' && data.length === 0) {
       // 闇�瑕侀�夋嫨琛屾椂锛屾牎楠屾暟鎹�
       notification.warning({
@@ -1928,11 +1928,8 @@
           _param.miniprogram.pagepath = `/pages/index/index?MenuId=${verify.wxNoteLinkMenuId}`
         }
       }
-
-      let keys = []
+      
       verify.wxNoteKeys.forEach(item => {
-        keys.push(item.key)
-
         _param.data[item.key] = {value: '', color: item.color}
       })
 
@@ -1948,9 +1945,9 @@
           m.client_msg_id = item.send_id
         }
 
-        keys.forEach(key => {
-          if (item[key] !== undefined) {
-            m.data[key].value = item[key]
+        verify.wxNoteKeys.forEach(note => {
+          if (item[note.value] !== undefined) {
+            m.data[note.key].value = item[note.value]
           }
         })
 

--
Gitblit v1.8.0