Commit 20af4d70 authored by 黄媛媛's avatar 黄媛媛
parents 1050e9ff d9665f6b
......@@ -1679,16 +1679,17 @@
watch: {
FeatureData: {
handler: function (val, oldVal) {
if (this.ReadOnly) return;
if (val && this.oldVal != null) {
this.newVal = JSON.parse(JSON.stringify(val));
this.Refresh = true;
this.theFirstTime = false
return
} else {
this.oldVal = JSON.parse(JSON.stringify(this.FeatureData));
this.init()
}
//HK 2019-12-10注释
// if (this.ReadOnly) return;
// if (val && this.oldVal != null) {
// this.newVal = JSON.parse(JSON.stringify(val));
// this.Refresh = true;
// this.theFirstTime = false
// return
// } else {
// this.oldVal = JSON.parse(JSON.stringify(this.FeatureData));
// this.init()
// }
},
deep: true
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment