From b63b085814103cabe989d9600bc925559cc6d56d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 13 四月 2022 01:29:21 +0800 Subject: [PATCH] 2022-04-13 --- src/views/mobdesign/index.jsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/mobdesign/index.jsx b/src/views/mobdesign/index.jsx index f630a78..09de4d2 100644 --- a/src/views/mobdesign/index.jsx +++ b/src/views/mobdesign/index.jsx @@ -864,7 +864,7 @@ children: [] } - if (item.type === 'topbar' || item.type === 'login' || item.type === 'navbar') { + if (item.type === 'topbar' || item.type === 'login' || item.type === 'navbar' || (item.type === 'menubar' && item.subtype === 'commonbar')) { return null } else if (item.type === 'tabs') { let tabs = [] @@ -1369,7 +1369,7 @@ } verifyConfig = (show) => { - const { config, viewType } = this.state + const { config } = this.state let error = '' let searchSum = 0 let swipes = [] @@ -1437,9 +1437,9 @@ check(config.components) - if (!error && viewType === 'userbind' && config.components.filter(item => item.type === 'login').length === 0) { - error = '鐢ㄦ埛缁戝畾椤甸潰蹇呴』娣诲姞鐧诲綍銆�' - } + // if (!error && viewType === 'userbind' && config.components.filter(item => item.type === 'login').length === 0) { + // error = '鐢ㄦ埛缁戝畾椤甸潰蹇呴』娣诲姞鐧诲綍銆�' + // } if (!error && searchSum > 1) { error = '鎼滅储缁勪欢涓庡鑸爮鐨勬悳绱㈠姛鑳戒笉鍙悓鏃朵娇鐢ㄣ��' -- Gitblit v1.8.0