提交
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
console.log("mounted")
|
||||
// this.initData()
|
||||
this.initData()
|
||||
},
|
||||
created() {
|
||||
console.log("created")
|
||||
@@ -41,6 +41,7 @@ export default {
|
||||
initData(point = undefined) {
|
||||
console.log(point)
|
||||
this.visible = true
|
||||
// this.searchBody = undefined
|
||||
this.$nextTick(() => {
|
||||
this.resetData();
|
||||
if (point) {
|
||||
@@ -53,7 +54,7 @@ export default {
|
||||
this.currentPoint = undefined;
|
||||
this.dialogMap && this.marker && this.dialogMap.remove(this.marker);
|
||||
this.marker = null;
|
||||
this.placeSearch = null;
|
||||
// this.placeSearch = null;
|
||||
this.searchBody = null
|
||||
},
|
||||
initMap() {
|
||||
|
||||
Reference in New Issue
Block a user