fix: bug#31510
This commit is contained in:
parent
128652dcd5
commit
099db8c2dc
|
@ -220,8 +220,10 @@ const filterType = async (newVal: any) => {
|
|||
terms: [
|
||||
{ termType: 'eq', column: 'objectTypeName', value: '设备' },
|
||||
],
|
||||
});
|
||||
if (res.success && res.result.length !== 0) {
|
||||
}).catch(()=>{
|
||||
_typeList[2].disabled = true
|
||||
})
|
||||
if (res.success && res.result.length === 0) {
|
||||
// _typeList.push(TypeMap.relation)
|
||||
// TypeMap.relation.disabled = true;
|
||||
_typeList[2].disabled = true
|
||||
|
|
Loading…
Reference in New Issue