Skip to content

Commit 1468c4f

Browse files
committed
fix linter error
1 parent 4cd87a7 commit 1468c4f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/components/LPopup.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export default {
3232
if (this.parentContainer) {
3333
if (this.parentContainer.unbindPopup) {
3434
this.parentContainer.unbindPopup();
35-
} else if (this.parentContainer.mapObject
36-
&& this.parentContainer.mapObject.unbindPopup) {
35+
} else if (this.parentContainer.mapObject && this.parentContainer.mapObject.unbindPopup) {
3736
this.parentContainer.mapObject.unbindPopup();
3837
}
3938
}

src/components/LTooltip.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export default {
2323
if (this.parentContainer) {
2424
if (this.parentContainer.unbindTooltip) {
2525
this.parentContainer.unbindTooltip();
26-
} else if (this.parentContainer.mapObject
27-
&& this.parentContainer.mapObject.unbindTooltip) {
26+
} else if (this.parentContainer.mapObject && this.parentContainer.mapObject.unbindTooltip) {
2827
this.parentContainer.mapObject.unbindTooltip();
2928
}
3029
}

0 commit comments

Comments
 (0)