From bec3327b9770b63c805ab8228ec587b9a84e1a00 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 20 四月 2021 18:22:03 +0800 Subject: [PATCH] 2021-04-20 --- src/views/menudesign/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx index c186722..fcbad2a 100644 --- a/src/views/menudesign/index.jsx +++ b/src/views/menudesign/index.jsx @@ -827,7 +827,7 @@ } verifyConfig = (show) => { - const { config, MenuType } = this.state + const { config } = this.state let error = '' let check = (components) => { @@ -849,7 +849,7 @@ error = `缁勪欢銆�${item.name}銆嬫湭璁剧疆鏁版嵁婧愶紒` } else if (item.setting.interType === 'system' && item.setting.execute === 'false' && item.scripts.length === 0) { error = `缁勪欢銆�${item.name}銆嬫湭璁剧疆鏁版嵁婧愶紒` - } else if (!item.setting.primaryKey && MenuType !== 'billPrint' && item.subtype !== 'propcard') { + } else if (!item.setting.primaryKey) { error = `缁勪欢銆�${item.name}銆嬫湭璁剧疆涓婚敭锛乣 } } -- Gitblit v1.8.0