From e0f1f05b7567a7bfd29fd5ad54e4b2222ddfcb94 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 26 三月 2020 20:19:06 +0800
Subject: [PATCH] 2020-03-26

---
 src/templates/zshare/searchform/index.jsx |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/templates/zshare/searchform/index.jsx b/src/templates/zshare/searchform/index.jsx
index 54023da..9c3b91c 100644
--- a/src/templates/zshare/searchform/index.jsx
+++ b/src/templates/zshare/searchform/index.jsx
@@ -61,7 +61,9 @@
         if (form.key === 'match') {
           if (type === 'text') {
             form.options = matchReg.text
-          } else if (type === 'multiselect' || type === 'select' || type === 'link') {
+          } else if (type === 'multiselect') {
+            form.options = matchReg.multiselect
+          } else if (type === 'select' || type === 'link') {
             form.options = matchReg.select
           } else if (type === 'date') {
             form.options = matchReg.date
@@ -137,7 +139,9 @@
           } else if (form.key === 'match') {                     // 鎼滅储鏉′欢绫诲瀷鍒囨崲鏃讹紝鍖归厤瑙勫垯绫诲瀷瀵瑰簲鍒囨崲
             if (value === 'text') {
               form.options = matchReg.text
-            } else if (value === 'multiselect' || value === 'select' || value === 'link') {
+            } else if (value === 'multiselect') {
+              form.options = matchReg.multiselect
+            } else if (value === 'select' || value === 'link') {
               form.options = matchReg.select
             } else if (value === 'date') {
               form.options = matchReg.date

--
Gitblit v1.8.0