src/views/appmanage/index.jsx
@@ -112,6 +112,21 @@ forbid = false UNSAFE_componentWillMount() { if (sessionStorage.getItem('devError') === 'true') { sessionStorage.clear() window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login') window.location.reload() return } if (!sessionStorage.getItem('UserID')) { sessionStorage.removeItem('isEditState') this.props.history.replace('/login') return } window.GLOB.developing = true document.body.className = '' this.getAppList() this.getSmStemp()