From afb39f8ab004b2607bb718edab02e99c7a010114 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 22 三月 2023 14:36:44 +0800
Subject: [PATCH] 2023-03-22

---
 src/menu/components/search/main-search/options.jsx |   17 ++++++++++++++---
 1 files changed, 14 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..f9324cf 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,18 @@
       options: [
         {value: 'true', label: '鏄剧ず'},
         {value: 'false', label: '闅愯棌'},
+      ],
+      controlFields: [
+        {field: 'borderRadius', values: ['true']}
       ]
+    },
+    {
+      type: 'number',
+      field: 'borderRadius',
+      label: '鎸夐挳鍦嗚',
+      initval: wrap.borderRadius || '',
+      tooltip: '鎼滅储鍜岄噸缃寜閽殑鍦嗚銆�',
+      required: false
     },
     {
       type: 'radio',
@@ -129,7 +140,7 @@
         {value: 'true', label: '鍚敤'},
         {value: 'false', label: '绂佺敤'},
       ],
-      forbid: !appType
+      forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview'
     },
     {
       type: 'multiselect',

--
Gitblit v1.8.0