飞行器品牌bug修复
This commit is contained in:
parent
098e3ad191
commit
a1df8eb486
@ -155,7 +155,7 @@ export default {
|
|||||||
});
|
});
|
||||||
if(this.form.brand){
|
if(this.form.brand){
|
||||||
const brand = this.dict.aircraft_brand.find(item=>item.value===this.form.brand);
|
const brand = this.dict.aircraft_brand.find(item=>item.value===this.form.brand);
|
||||||
this.form.brand = brand.label || '/';
|
this.form.brand = brand ? brand.label : '/';
|
||||||
}
|
}
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error('获取设备详情失败:', error)
|
console.error('获取设备详情失败:', error)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user