fix: 优化设备物模型-属性来源可以修改产品规则
This commit is contained in:
parent
8ff3297523
commit
6f997f17f6
|
@ -419,6 +419,9 @@ export const useColumns = (type?: MetadataType, target?: 'device' | 'product', n
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
doubleClick(record){
|
doubleClick(record){
|
||||||
|
if (record.expands.source === 'rule') {
|
||||||
|
return true
|
||||||
|
}
|
||||||
return !isExtendsProdcut(record._sortIndex, productNoEdit?.value, 'expands')
|
return !isExtendsProdcut(record._sortIndex, productNoEdit?.value, 'expands')
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
|
|
Loading…
Reference in New Issue