Skip to content

Commit

Permalink
fix: 修复grid-view dom监听导致的死循环
Browse files Browse the repository at this point in the history
  • Loading branch information
YufJi committed Mar 25, 2024
1 parent 70dc7a0 commit 32d6208
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src-vusion/components/grid-view/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ export default {
},
methods: {
pwd() {
if (this.iffall) {
if (this.iffall && !this.resizing) {
this.resizing = true;
setTimeout(() => {
this.resizing = false;
}, 500);
this.init();
}
},
Expand Down

0 comments on commit 32d6208

Please sign in to comment.