Commit 8148d711 authored by xxx's avatar xxx

1

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