Commit 6ad1e89f by 杨周龙

为antd关闭严格模式

1 parent e613d128
Showing with 4 additions and 6 deletions
......@@ -15,8 +15,8 @@ setAPP(APP)
init()
store.dispatch.baseConfig.init()
.then(res => {
if(!res) {
.then(res => {
if (!res) {
console.error('平台配置参数未获取', res)
return
}
......@@ -27,14 +27,12 @@ store.dispatch.baseConfig.init()
res.platformName,
res.app_code
)
})
})
if (process.env.NODE_ENV !== 'development') document.domain = 'b2bwings.com'
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
<App />,
document.getElementById('root')
)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!