Skip to content

Commit 4865727

Browse files
author
283591387@qq.com
committed
修复vue3版本destroyed无效的问题
1 parent 893c576 commit 4865727

File tree

2 files changed

+2
-2
lines changed
  • Vol.Vue3版本/src/components/basic/ViewGrid
  • 开发版dev/Vue.NetCore/Vol.Vue3版本/src/components/basic/ViewGrid

2 files changed

+2
-2
lines changed

Vol.Vue3版本/src/components/basic/ViewGrid/ViewGrid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ var vueParam = {
566566
this.mounted();
567567
// this.$refs.searchForm.forEach()
568568
},
569-
destroyed() {
569+
unmounted() {
570570
this.destroyed();
571571
this.dynamicComponent = null;
572572
},

开发版dev/Vue.NetCore/Vol.Vue3版本/src/components/basic/ViewGrid/ViewGrid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ var vueParam = {
566566
this.mounted();
567567
// this.$refs.searchForm.forEach()
568568
},
569-
destroyed() {
569+
unmounted() {
570570
this.destroyed();
571571
this.dynamicComponent = null;
572572
},

0 commit comments

Comments
 (0)