|
@@ -442,9 +442,9 @@ export default {
|
|
|
.match(new RegExp(this.firstPlace.checkedType + '-\\d+', 'g')) ||
|
|
|
[];
|
|
|
const types = dict[0].split('-');
|
|
|
+ const delType = del[0].split('-');
|
|
|
let screenArr;
|
|
|
if (del.length > 0) {
|
|
|
- const delType = del[0].split('-');
|
|
|
const baseTypeList = JSON.parse(JSON.stringify(this.baseTypeList));
|
|
|
screenArr = baseTypeList.filter(item => {
|
|
|
return !delType[2].includes(item.type);
|
|
@@ -455,8 +455,10 @@ export default {
|
|
|
if (arr[i - 1] && arr[i - 1].groupId == item.groupId) {
|
|
|
this.$set(item, 'disabled', false);
|
|
|
if (del.length > 0) {
|
|
|
- this.$set(item, 'subType', '');
|
|
|
this.$set(item, 'baseTypes', screenArr);
|
|
|
+ if (item.subType == delType[2]) {
|
|
|
+ this.$set(item, 'subType', '');
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
this.$set(item, 'disabled', true);
|