From 326aa6b3effaccc71cfe0775d47b0f29eb3695a6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 25 八月 2024 00:36:40 +0800
Subject: [PATCH] 2024-08-25

---
 src/views/basedesign/updateFormTab/index.jsx |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/views/basedesign/updateFormTab/index.jsx b/src/views/basedesign/updateFormTab/index.jsx
index 04821eb..a70d45b 100644
--- a/src/views/basedesign/updateFormTab/index.jsx
+++ b/src/views/basedesign/updateFormTab/index.jsx
@@ -28,7 +28,7 @@
 
   trigger = () => {
     const { config, menu, btnTab } = this.props
-    const _this = this
+    const that = this
 
     if (!config || !menu || !menu.LongParam) {
       notification.warning({
@@ -78,7 +78,7 @@
       content: '',
       onOk() {
         return new Promise(resolve => {
-          _this.execUpdate(resolve, _config)
+          that.execUpdate(resolve, _config)
         })
       },
       onCancel() {}
@@ -878,12 +878,12 @@
       debug_md5: key,
       debug_url: url,
       debug_list: window.btoa(tbs),
-      LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(config)))
+      LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(config))),
+      LText: ''
     }
 
-    param.LText = Utils.formatOptions(param.LText)
     param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
-    param.secretkey = Utils.encrypt(param.LText, param.timestamp)
+    param.secretkey = Utils.encrypt('', param.timestamp)
 
     Api.getCloudConfig(param).then(res => {
       _resolve()
@@ -1195,14 +1195,10 @@
         if (newCon.equalTab && oldtabs && oldtabs[newCon.equalTab]) {
           _btn.syncComponent.push(oldtabs[newCon.equalTab])
         }
-      } else if (_btn.execSuccess === 'maingrid') {
-        _btn.execSuccess = 'mainline'
       }
 
       if (_btn.execError === 'equaltab') {
         _btn.execError = 'grid'
-      } else if (_btn.execError === 'maingrid') {
-        _btn.execError = 'mainline'
       }
 
       if (_btn.popClose === 'equaltab') {
@@ -1212,8 +1208,6 @@
         if (newCon.equalTab && oldtabs && oldtabs[newCon.equalTab]) {
           _btn.syncComponent.push(oldtabs[newCon.equalTab])
         }
-      } else if (_btn.popClose === 'maingrid') {
-        _btn.popClose = 'mainline'
       }
 
       if (_btn.OpenType === 'pop' || (_btn.OpenType === 'funcbutton' && _btn.funcType === 'print' && _btn.execMode === 'pop')) {

--
Gitblit v1.8.0