fix: rename unmount lifecycles

This commit is contained in:
chenjiahan
2020-08-17 10:40:48 +08:00
parent 3a290ce564
commit 6c85294d35
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export const ClickOutsideMixin = (config) => ({
on(document, config.event, this.clickOutsideHandler);
},
beforeDestroy() {
beforeUnmount() {
off(document, config.event, this.clickOutsideHandler);
},
});