Frontend: Fixed the null error in tooltips
This commit is contained in:
parent
10256c683c
commit
d1ca62a807
|
@ -118,6 +118,6 @@ export default {
|
|||
unmounted(el, binding, vn) {
|
||||
const self = el._tooltipDirective_;
|
||||
window.clearInterval(self.checkTimer);
|
||||
self.close();
|
||||
if (self) self.close();
|
||||
},
|
||||
} as Directive;
|
||||
|
|
Loading…
Reference in New Issue