Skip to content

Commit

Permalink
next tick snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen2010 committed Jul 14, 2023
1 parent 69ff5ae commit 6f96667
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion editor/inspector/components/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,10 @@ exports.methods = {
this.$refs.summitProp.dispatch('change-dump');
},
snapshot() {
this.$refs.summitProp.dispatch('confirm-dump');
// next tick snapshot
setTimeout(() => {
this.$refs.summitProp.dispatch('confirm-dump');
});
},

getUnit(type) {
Expand Down

0 comments on commit 6f96667

Please sign in to comment.