forked from FoundKeyGang/FoundKey
Fix #1137
This commit is contained in:
parent
6358856a94
commit
8797c975ba
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ export default function<T extends object>(data: {
|
||||||
this.$watch('props', newProps => {
|
this.$watch('props', newProps => {
|
||||||
if (this.preventSave) {
|
if (this.preventSave) {
|
||||||
this.preventSave = false;
|
this.preventSave = false;
|
||||||
|
this.bakeProps();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.bakedOldProps == JSON.stringify(newProps)) return;
|
if (this.bakedOldProps == JSON.stringify(newProps)) return;
|
||||||
|
|
Loading…
Reference in a new issue