This commit is contained in:
syuilo 2018-02-24 12:32:49 +09:00
parent 6358856a94
commit 8797c975ba

View File

@ -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;