@@ -257,7 +257,9 @@ export default {
// 删除子表单
getDelete(type, index) {
this.form.typeList.splice(index, 1);
- this.devModeOptions.find(i => i.value == type).disabled = false
+ if (type) {
+ this.devModeOptions.find(i => i.value == type).disabled = false
+ }
},
// 取消