diff --git a/src/views/distribution/artery/AddVehicleStowage.vue b/src/views/distribution/artery/AddVehicleStowage.vue index fd548add..72c28c80 100644 --- a/src/views/distribution/artery/AddVehicleStowage.vue +++ b/src/views/distribution/artery/AddVehicleStowage.vue @@ -1332,9 +1332,11 @@ const onLoad = async () => { const _item = this.selectQuery[key]; // 单选 - if (getObjType(_item) === 'string') { + if (getObjType(_item) === 'string' && _item) { + console.log('222 :>> ', 222); if (_item !== value[key]) _flag = false; - } else if (getObjType(_item) === 'array') { + } else if (getObjType(_item) === 'array' && _item.length > 0) { + console.log('123 :>> ', 123); if (!_item.includes(value[key])) _flag = false; }