fixed error in watcher post
This commit is contained in:
parent
58553309ff
commit
255a33f104
|
@ -103,7 +103,7 @@ export default class Watcher extends Component {
|
|||
}
|
||||
let isPost = (this.$attrs.save && this.$attrs.save.toLowerCase() === 'post');
|
||||
let changedData = isPost
|
||||
? this.copyInNewObject(this.data)
|
||||
? this.data
|
||||
: getModifiedData(this.data, this.orgData);
|
||||
|
||||
if (this.requiredField && !changedData[this.requiredField]) {
|
||||
|
|
Loading…
Reference in New Issue