From 4ef8dd730e7450d96f0445e146a0c76360a3a1d1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 31 八月 2023 11:19:16 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx index f97f30f..be9e742 100644 --- a/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx @@ -6,6 +6,8 @@ let appType = sessionStorage.getItem('appType') let isApp = appType === 'pc' || appType === 'mob' let menulist = null + let isprint = sessionStorage.getItem('MenuType') === 'billPrint' + let ispop = sessionStorage.getItem('editMenuType') === 'popview' if (isApp) { menulist = sessionStorage.getItem('appMenus') @@ -119,7 +121,7 @@ {value: 'true', text: '鍚敤'}, {value: 'false', text: '绂佺敤'}, ], - forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview' + forbid: !appType || ispop || isprint }, { type: 'radio', @@ -131,7 +133,7 @@ {value: 'true', text: '缁ф壙鑿滃崟'}, {value: 'false', text: '绂佺敤'}, ], - forbid: sessionStorage.getItem('editMenuType') === 'popview' + forbid: ispop || isprint }, { type: 'select', @@ -141,7 +143,7 @@ multi: true, required: false, options: roleList, - forbid: !!appType + forbid: !!appType || isprint } ] } -- Gitblit v1.8.0