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