From 21167ece56edd628e6f6546d1d642947cc3a048f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 12 八月 2024 22:17:33 +0800 Subject: [PATCH] 2024-08-12 --- src/mob/components/menubar/normal-menubar/options.jsx | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 49 insertions(+), 1 deletions(-) diff --git a/src/mob/components/menubar/normal-menubar/options.jsx b/src/mob/components/menubar/normal-menubar/options.jsx index c8d9f80..6415abb 100644 --- a/src/mob/components/menubar/normal-menubar/options.jsx +++ b/src/mob/components/menubar/normal-menubar/options.jsx @@ -28,7 +28,55 @@ max: 24, precision: 0, required: true - } + }, + { + type: 'radio', + field: 'datatype', + label: '鏁版嵁鏉ユ簮', + initval: wrap.datatype || 'static', + tooltip: '閫夋嫨闈欐�佸�硷紝鏃犻渶閰嶇疆鏁版嵁婧愩��', + required: false, + options: [ + {value: 'dynamic', label: '鍔ㄦ��'}, + {value: 'static', label: '闈欐��'}, + ] + }, + { + type: 'radio', + field: 'layout', + label: '鑿滃崟甯冨眬', + initval: wrap.layout || 'grid', + required: false, + options: [ + {value: 'grid', label: '鏍呮牸'}, + {value: 'vertical', label: '涓婁笅'}, + {value: 'flex', label: '寮规��'}, + ] + }, + { + type: 'radio', + field: 'common', + label: '甯哥敤', + initval: wrap.common || 'true', + tooltip: '褰撳墠鑿滃崟缁勪腑鐨勮彍鍗曟槸鍚﹀彲娣诲姞鑷冲父鐢ㄨ彍鍗曠粍銆�', + required: false, + options: [ + {value: 'true', label: '鍙坊鍔�'}, + {value: 'false', label: '涓嶅彲娣诲姞'}, + ] + }, + { + type: 'radio', + field: 'permission', + label: '鏉冮檺楠岃瘉', + initval: wrap.permission || 'false', + required: false, + options: [ + {value: 'true', label: '鍚敤'}, + {value: 'false', label: '绂佺敤'}, + ], + forbid: sessionStorage.getItem('editMenuType') === 'popview' + }, ] return menuWrapForm -- Gitblit v1.8.0