From 09e0de52a398dd08a0dc3f4b43e4589d211e9c27 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 30 十二月 2021 12:44:45 +0800
Subject: [PATCH] 2021-12-30

---
 src/tabviews/zshare/mutilform/mkSelect/index.jsx |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/mkSelect/index.jsx b/src/tabviews/zshare/mutilform/mkSelect/index.jsx
index 86ff5c5..54c46f4 100644
--- a/src/tabviews/zshare/mutilform/mkSelect/index.jsx
+++ b/src/tabviews/zshare/mutilform/mkSelect/index.jsx
@@ -19,11 +19,7 @@
       }
     } else if (value) {
       let option = null
-      if (config.setAll === 'true') {
-        option= config.oriOptions[1]
-      } else {
-        option= config.oriOptions[0]
-      }
+      option= config.oriOptions[0]
       if (typeof(value) === 'string' && option && typeof(option.value) === 'number') {
         value = +value
         if (isNaN(value)) {
@@ -67,11 +63,7 @@
         })
       } else {
         let option = null
-        if (config.setAll === 'true') {
-          option= nextProps.config.oriOptions[1]
-        } else {
-          option= nextProps.config.oriOptions[0]
-        }
+        option= nextProps.config.oriOptions[0]
         if (option && typeof(option.value) === 'number') {
           let val = +value
           if (!isNaN(val)) {

--
Gitblit v1.8.0