From c78e2e555201789537bf176a349bbb34f8c0ca8f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 27 十二月 2022 13:58:00 +0800 Subject: [PATCH] 2022-12-27 --- src/menu/components/module/voucher/options.jsx | 22 ---------------------- 1 files changed, 0 insertions(+), 22 deletions(-) diff --git a/src/menu/components/module/voucher/options.jsx b/src/menu/components/module/voucher/options.jsx index a837e93..3f63f8f 100644 --- a/src/menu/components/module/voucher/options.jsx +++ b/src/menu/components/module/voucher/options.jsx @@ -4,21 +4,8 @@ * @description Wrap琛ㄥ崟閰嶇疆淇℃伅 */ export default function (wrap, id) { - let roleList = sessionStorage.getItem('sysRoles') - let appType = sessionStorage.getItem('appType') - let menu = window.GLOB.customMenu let modules = MenuUtils.getSupModules(menu.components, id, menu.interfaces) - - if (roleList) { - try { - roleList = JSON.parse(roleList) - } catch (e) { - roleList = [] - } - } else { - roleList = [] - } const wrapForm = [ // { @@ -66,15 +53,6 @@ required: false, options: modules, allowClear: true, - }, - { - type: 'multiselect', - field: 'blacklist', - label: '榛戝悕鍗�', - initval: wrap.blacklist || [], - required: false, - options: roleList, - forbid: !!appType }, ] -- Gitblit v1.8.0