线路:宁波1

问题:mouseEvent.mouseout 报错问题
This commit is contained in:
lVAL 2021-02-22 16:34:56 +08:00
parent 609d34b8fb
commit 07b38833fd
2 changed files with 8 additions and 6 deletions

View File

@ -74,10 +74,10 @@ export default {
});
this.$root.$on('dialogOpen', e => {
console.log(this.selected, 11111111)
if (this.selected == e &&
this.selected &&
this.selected.instance) {
this.selected.instance &&
this.selected.instance.mouseEvent) {
this.selected.instance.__over = true;
this.selected.instance.mouseEvent.mouseover();
}
@ -86,7 +86,8 @@ export default {
this.$root.$on('dialogClose', e => {
if (this.selected == e &&
this.selected &&
this.selected.instance) {
this.selected.instance &&
this.selected.instance.mouseEvent) {
this.selected.instance.__over = false;
this.selected.instance.mouseEvent.mouseout();
this.$jlmap.clearEvent();

View File

@ -90,8 +90,8 @@ export default {
this.$root.$on('dialogOpen', e => {
if (this.selected == e &&
this.selected &&
this.selected.instance) {
console.log(1111111111, this.selected, e);
this.selected.instance &&
this.selected.instance.mouseEvent) {
this.selected.instance.__over = true;
this.selected.instance.mouseEvent.mouseover();
}
@ -100,7 +100,8 @@ export default {
this.$root.$on('dialogClose', e => {
if (this.selected == e &&
this.selected &&
this.selected.instance) {
this.selected.instance &&
this.selected.instance.mouseEvent) {
this.selected.instance.__over = false;
this.selected.instance.mouseEvent.mouseout();
this.$jlmap.clearEvent();