From 1da6506bf58270bacc2a4345002c6b082835580e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 十月 2021 23:17:08 +0800 Subject: [PATCH] 2021-10-21 --- src/mob/components/menubar/normal-menubar/menucomponent/options.jsx | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx b/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx index a035065..285c662 100644 --- a/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx +++ b/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx @@ -7,7 +7,7 @@ if (menulist) { try { menulist = JSON.parse(menulist) - } catch { + } catch (e) { menulist = [] } } else { @@ -142,6 +142,13 @@ required: true }, { + type: 'styleInput', + field: 'borderRadius', + label: '鍦嗚', + initval: setting.borderRadius || '50%', + required: false + }, + { type: 'color', field: 'color', label: '瀛椾綋棰滆壊', -- Gitblit v1.8.0