@@ -182,7 +182,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
+ }
},
// 修改设备模式