From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 十二月 2023 21:05:37 +0800 Subject: [PATCH] 2023-12-12 --- src/menu/components/search/main-search/options.jsx | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/src/menu/components/search/main-search/options.jsx b/src/menu/components/search/main-search/options.jsx index 880a5a7..8228b2b 100644 --- a/src/menu/components/search/main-search/options.jsx +++ b/src/menu/components/search/main-search/options.jsx @@ -117,7 +117,30 @@ options: [ {value: 'true', label: '鏄剧ず'}, {value: 'false', label: '闅愯棌'}, + ], + controlFields: [ + {field: 'borderRadius', values: ['true']}, + {field: 'resetContrl', values: ['true']} ] + }, + { + type: 'number', + field: 'borderRadius', + label: '鎸夐挳鍦嗚', + initval: wrap.borderRadius || '', + tooltip: '鎼滅储鍜岄噸缃寜閽殑鍦嗚銆�', + required: false + }, + { + type: 'radio', + field: 'resetContrl', + label: '閲嶇疆鏃�', + initval: wrap.resetContrl || 'init', + required: false, + options: [ + {value: 'init', label: '鎭㈠鍒濆鍊�'}, + {value: 'clear', label: '娓呯┖'}, + ], }, { type: 'radio', @@ -132,6 +155,19 @@ forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview' }, { + type: 'radio', + field: 'cacheSearch', + label: '鎼滅储缂撳瓨', + initval: wrap.cacheSearch || 'false', + tooltip: '鍚敤鎼滅储鏉′欢缂撳瓨鍚庯紝鍦ㄨ彍鍗曞埛鏂版椂鎼滅储鏉′欢涓嶅彉銆�', + required: false, + options: [ + {value: 'true', label: '鍚敤'}, + {value: 'false', label: '绂佺敤'}, + ], + forbid: !!appType + }, + { type: 'multiselect', field: 'blacklist', label: '榛戝悕鍗�', -- Gitblit v1.8.0