watcher mira dirty antes de ver si los datos cambian
This commit is contained in:
parent
8f9f14239e
commit
260830dc95
|
@ -181,6 +181,7 @@ export default class Watcher extends Component {
|
|||
}
|
||||
|
||||
dataChanged() {
|
||||
if (!this.form.$dirty) return false;
|
||||
let newData = this.copyInNewObject(this.data);
|
||||
return !isEqual(newData, this.orgData);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue