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
@@ -117,7 +117,7 @@ export default createComponent({
}
},
beforeDestroy() {
beforeUnmount() {
if (this.vanForm) {
this.vanForm.removeField(this);
}