fix: 优化物模型-枚举校验

This commit is contained in:
XieYongHong 2023-07-27 09:09:41 +08:00
parent 0742110e69
commit d2122de264
2 changed files with 2 additions and 3 deletions

View File

@ -341,7 +341,6 @@ export const useColumns = (type?: MetadataType, target?: 'device' | 'product', n
const fieldIndex = Number(field[1])
const values = dataSource.find((item, index) => index === fieldIndex)
return validatorConfig(values.output)
}
}]

View File

@ -3755,8 +3755,8 @@ jetlinks-ui-components@^1.0.23:
jetlinks-ui-components@^1.0.27:
version "1.0.27"
resolved "http://registry.jetlinks.cn/jetlinks-ui-components/-/jetlinks-ui-components-1.0.27.tgz#1f0984de391638429b147f45b0e7aca928fb80f8"
integrity sha512-87JBHVqqI3aNV2H8SFnMHegW5b1tjtCtxcEbQUFM7Mq7ZJQcR4GhaCmhP61E8PsZbHLPNFjNgb6GGwhdWT4MKQ==
resolved "http://registry.jetlinks.cn/jetlinks-ui-components/-/jetlinks-ui-components-1.0.27.tgz#03a2a9ba49d669c6d63e6c5d5b144f31a27253df"
integrity sha512-I9A05UXUtjRsSWU/jgRDfDNeCv2ZV21/PV4FEV3UG5bQOYa1/CvL7Lr7F7iB1m4Hjn9mnXTqAQ2pU11b6T2U8Q==
dependencies:
"@vueuse/core" "^9.12.0"
"@vueuse/router" "^9.13.0"