Commit 8148d711 authored by xxx's avatar xxx

1

parent 0e7e6280
......@@ -306,7 +306,7 @@
//创建地图
initMars3d(options) {
let that = this;
if (this[`map${this.mapKey}`]) return
//if (this[`map${this.mapKey}`]) return
const mapOptions = {
...options,
......
......@@ -254,9 +254,7 @@ export default {
type: 'success',
duration: 2500
});
setTimeout(function (){
window.location.reload();
},2000);
this.resetData();
})
})
}
......@@ -298,9 +296,7 @@ export default {
type: 'success',
duration: 2500
});
setTimeout(function (){
window.location.reload();
},2000);
this.resetData();
})
})
}
......@@ -356,9 +352,7 @@ export default {
type: 'success',
duration: 2500
});
setTimeout(function (){
window.location.reload();
},2000);
this.resetData();
})
})
}
......
......@@ -24,8 +24,8 @@ module.exports = {
lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,
devServer: {
//host: 'localhost', // 也可以直接写IP地址这样方便真机测试
host: '192.168.0.100', // 也可以直接写IP地址这样方便真机测试
host: 'localhost', // 也可以直接写IP地址这样方便真机测试
//host: '192.168.0.100', // 也可以直接写IP地址这样方便真机测试
port: port,
open: true,
//https: true,
......
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