From ac1d52c46ff9019fcc93cf3d5e7ab17cf850824e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 10 八月 2023 16:05:24 +0800 Subject: [PATCH] 2023-08-10 --- src/menu/components/search/main-search/options.jsx | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/menu/components/search/main-search/options.jsx b/src/menu/components/search/main-search/options.jsx index 8f39286..c1cd29d 100644 --- a/src/menu/components/search/main-search/options.jsx +++ b/src/menu/components/search/main-search/options.jsx @@ -54,7 +54,7 @@ { type: 'radio', field: 'drawerPlacement', - label: '鎶藉眽鏂瑰悜', + label: '寮瑰嚭鏂瑰悜', initval: wrap.drawerPlacement || 'right', required: false, options: [ @@ -94,7 +94,7 @@ tooltip: '鎼滅储鎸夐挳璺濆乏渚х殑鐧惧垎姣旓紝鍙傜収鎼滅储鏉′欢鐨勫悕绉板搴︺��', min: 0, max: 100, - precision: 10, + precision: 1, required: true }, { @@ -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', @@ -129,7 +152,7 @@ {value: 'true', label: '鍚敤'}, {value: 'false', label: '绂佺敤'}, ], - forbid: !appType + forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview' }, { type: 'multiselect', -- Gitblit v1.8.0