bug修复

This commit is contained in:
Chengliang 2023-09-15 17:15:19 +08:00
parent 8312b214ff
commit a710334a37
1 changed files with 5 additions and 1 deletions

View File

@ -195,7 +195,11 @@ export class StaffStore {
value: ''
}
});
const type = data.planId.valueObj[0].control_dimensions;
let title = data.planId.valueObj[0].title;
if(title != undefined) {
title = title.replace(/ /g, "").split("|")[3];
}
const type = data.planId.valueObj[0].control_dimensions || title;
this.condition = this.fcondition;
switch(type) {
case '分部':