bug fixed watcher

This commit is contained in:
Daniel Herrero 2018-02-06 09:33:37 +01:00
parent f0356eb047
commit fd4b427518
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ export default class Watcher extends Component {
updateOriginalData() {
this.orgData = this.copyInNewObject(this.data);
if (this.form && this.form.$dirty)
this.form.$setPristine();
}
copyInNewObject(data) {