From 0227c25e4ed573d3095ada3f9c9a4ba5f18b0de5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 20 一月 2021 10:53:01 +0800 Subject: [PATCH] 2021-01-20 --- src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx index 3b709ed..3a2ded3 100644 --- a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx @@ -6,9 +6,8 @@ /** * @description 鑾峰彇鍥捐〃瑙嗗浘閰嶇疆琛ㄥ崟 * @param {object} card // 鍥捐〃瀵硅薄 - * @param {Array} MenuType // 鑿滃崟绫诲瀷 */ -export function getBaseForm (card, MenuType) { +export function getBaseForm (card) { let menulist = sessionStorage.getItem('fstMenuList') if (menulist) { try { @@ -75,7 +74,6 @@ initVal: card.blacklist || [], multi: true, required: false, - forbid: MenuType === 'billPrint', options: roleList }, { @@ -85,7 +83,6 @@ initVal: card.linkmenu || [], tooltip: '鍦ㄤ娇鐢ㄦ煴褰㈠浘涓旀湭鍚敤鑷畾涔夎缃椂鏈夋晥銆�', required: false, - forbid: MenuType === 'billPrint', options: menulist } ] @@ -96,7 +93,7 @@ * @param {object} card // 鍥捐〃瀵硅薄 * @param {Array} columns // 鏄剧ず鍒� */ -export function getOptionForm (card, columns, MenuType) { +export function getOptionForm (card, columns) { let shapes = [] if (card.chartType === 'line') { -- Gitblit v1.8.0