bug fixed watcher
This commit is contained in:
parent
f0356eb047
commit
fd4b427518
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue