| | |
| | | ) |
| | | } |
| | | |
| | | document.title = (window.GLOB && window.GLOB.title) || 'MinkeSoft' |
| | | window.GLOB = window.GLOB || {} |
| | | |
| | | document.title = window.GLOB.title || 'MinkeSoft' |
| | | |
| | | const option = { |
| | | white: 'mk-white' |
| | | } |
| | | |
| | | if (window.GLOB && window.GLOB.style && option[window.GLOB.style]) { |
| | | if (window.GLOB.style && option[window.GLOB.style]) { |
| | | document.getElementById('root').className = option[window.GLOB.style] |
| | | } |
| | | |
| | | if (process.env.NODE_ENV === 'production') { |
| | | let service = window.GLOB.service ? (/\/$/.test(window.GLOB.service) ? window.GLOB.service : window.GLOB.service + '/') : '' |
| | | window.GLOB.subSystemApi = document.location.origin + '/' + service + 'webapi/dostar' |
| | | } else { |
| | | window.GLOB.subSystemApi = 'http://qingqiumarket.cn/mkwms/webapi/dostar' |
| | | } |
| | | |
| | | |
| | | sessionStorage.removeItem('isEditState') |
| | | |
| | | render(Route) |
| | | |
| | | serviceWorker.unregister() |