|
@@ -810,7 +810,9 @@ export default {
|
|
|
if (this.fid == id) {
|
|
|
this.fid = "";
|
|
|
}
|
|
|
- delete this.eJson[id];
|
|
|
+ var a = JSON.parse(JSON.stringify(this.eJson));
|
|
|
+ delete a[id];
|
|
|
+ this.eJson = a;
|
|
|
this.eJSONNum++;
|
|
|
this.$forceUpdate();
|
|
|
this.setMindData();
|
|
@@ -833,7 +835,9 @@ export default {
|
|
|
if (this.sid == id) {
|
|
|
this.sid = "";
|
|
|
}
|
|
|
- delete this.eJson[this.fid].child[id];
|
|
|
+ var a = JSON.parse(JSON.stringify(this.eJson));
|
|
|
+ delete a[this.fid].child[id];
|
|
|
+ this.eJson = a;
|
|
|
this.eJSONNum++;
|
|
|
this.$forceUpdate();
|
|
|
this.setMindData();
|
|
@@ -850,7 +854,9 @@ export default {
|
|
|
if (this.tid == id) {
|
|
|
this.tid = "";
|
|
|
}
|
|
|
- delete this.eJson[this.fid].child[this.sid].child[id];
|
|
|
+ var a = JSON.parse(JSON.stringify(this.eJson));
|
|
|
+ delete a[this.fid].child[this.sid].child[id];
|
|
|
+ this.eJson = a;
|
|
|
this.eJSONNum++;
|
|
|
this.$forceUpdate();
|
|
|
this.setMindData();
|