src/views/basedesign/index.jsx
@@ -40,6 +40,21 @@ } 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 try { let param = JSON.parse(window.decodeURIComponent(window.atob(this.props.match.params.param)))