()
| 206 | this.$handle.watchCtx(this); |
| 207 | }, |
| 208 | delete() { |
| 209 | this.unwatch(); |
| 210 | this.unlink(); |
| 211 | this.rmCtrl(); |
| 212 | if (this.parent) { |
| 213 | this.parent.children.splice(this.parent.children.indexOf(this) >>> 0, 1); |
| 214 | } |
| 215 | extend(this, { |
| 216 | deleted: true, |
| 217 | computed: {}, |
| 218 | parent: null, |
| 219 | children: [], |
| 220 | cacheConfig: null, |
| 221 | none: false, |
| 222 | }) |
| 223 | }, |
| 224 | rmCtrl() { |
| 225 | this.ctrlRule.forEach(ctrl => ctrl.__fc__ && ctrl.__fc__.rm()); |
| 226 | this.ctrlRule = []; |