Commit 5c1ca36d authored by 罗超's avatar 罗超

修改文件

parent a65063cd
......@@ -28,10 +28,11 @@ module.exports = {
// publicPath: process.env.NODE_ENV === 'production'
// ? config.build.assetsPublicPath
// : config.dev.assetsPublicPath,
publicPath: process.env.NODE_ENV === 'production' ? '/crm/' : '/',
publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
library: 'erp', // 子应用名称,需与主应用注册的一致
libraryTarget: 'umd',
chunkLoadingGlobal: `webpackJsonp_erp`, // 避免与其他子应用冲突
crossOriginLoading: 'anonymous',
},
resolve: {
extensions: ['.js', '.vue', '.json'],
......
......@@ -277,7 +277,7 @@
this.userInfo.name = "18117845617";
this.userInfo.password = "123456";
}
this.userInfo.Domain = window.location.hostname
this.userInfo.Domain = "admin.oytour.com"; //window.location.hostname
},
doLogin() {
if (this.userInfo.name == "") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment