king
2020-03-26 e0f1f05b7567a7bfd29fd5ad54e4b2222ddfcb94
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