# flag 设置优化

This commit is contained in:
xianfuxing 2018-09-08 16:38:25 +08:00
parent 3dbeb5ae8b
commit 9a9fbd01c5
1 changed files with 1 additions and 1 deletions

View File

@ -87,6 +87,7 @@ export default {
}).then(() => { }).then(() => {
this.map.clearMap() this.map.clearMap()
this.handleDrivingClick() this.handleDrivingClick()
this.flag = true
this.$message({ this.$message({
type: 'success', type: 'success',
message: '跳转成功!' message: '跳转成功!'
@ -244,7 +245,6 @@ export default {
if (target.nodeName.toLocaleLowerCase() === 'button') { if (target.nodeName.toLocaleLowerCase() === 'button') {
console.log('the content is: ', target.innerHTML) console.log('the content is: ', target.innerHTML)
this.gotoDriving() this.gotoDriving()
this.flag = true
} }
}, },
getDevicesInitMap(params) { getDevicesInitMap(params) {