| | |
| | | }) |
| | | return |
| | | } else if (this.checklog()) { |
| | | if (sessionStorage.getItem('applangList') && !config.trans) { |
| | | if ((sessionStorage.getItem('applangList') && !config.trans) || (adapters.includes('wxmini') && !config.hasOwnProperty('miniStyle'))) { |
| | | |
| | | } else { |
| | | notification.success({ |
| | |
| | | roleParam.pass = true |
| | | } |
| | | |
| | | delete config.miniTitle |
| | | |
| | | config.components.forEach(item => { |
| | | if (item.type === 'login') { |
| | | roleParam.login = true |
| | |
| | | config.loginview = true |
| | | } else if (item.type === 'navbar') { |
| | | config.tabview = true |
| | | } else if (item.type === 'topbar' && adapters.includes('wxmini') && item.wrap.minishow !== 'true') { |
| | | config.miniTitle = item.wrap.title || '' |
| | | } |
| | | }) |
| | | |