feat(ui): CI - hide groups without attr

This commit is contained in:
LH_R
2025-04-15 19:01:31 +08:00
parent b56cf5bb3d
commit 4ae67d1f0f

View File

@@ -296,7 +296,7 @@ export default {
getAttributes() {
getCITypeGroupById(this.typeId, { need_other: 1 })
.then((res) => {
this.attributeGroups = res
this.attributeGroups = (res || []).filter((group) => group?.attributes?.length)
this.handleReferenceAttr()
})