From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- 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