Commit 20af4d70 authored by 黄媛媛's avatar 黄媛媛
parents 1050e9ff d9665f6b
...@@ -1679,16 +1679,17 @@ ...@@ -1679,16 +1679,17 @@
watch: { watch: {
FeatureData: { FeatureData: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
if (this.ReadOnly) return; //HK 2019-12-10注释
if (val && this.oldVal != null) { // if (this.ReadOnly) return;
this.newVal = JSON.parse(JSON.stringify(val)); // if (val && this.oldVal != null) {
this.Refresh = true; // this.newVal = JSON.parse(JSON.stringify(val));
this.theFirstTime = false // this.Refresh = true;
return // this.theFirstTime = false
} else { // return
this.oldVal = JSON.parse(JSON.stringify(this.FeatureData)); // } else {
this.init() // this.oldVal = JSON.parse(JSON.stringify(this.FeatureData));
} // this.init()
// }
}, },
deep: true 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