fix(ui): lint error

This commit is contained in:
songlh 2024-06-18 11:42:22 +08:00
parent 819cd2884b
commit 87d65a35bd
3 changed files with 4 additions and 4 deletions

View File

@ -311,7 +311,7 @@
theme="filled" theme="filled"
@click=" @click="
(e) => { (e) => {
e.stopPropagation() e.stopPropagation()
e.preventDefault() e.preventDefault()
} }
" "

View File

@ -304,7 +304,7 @@
theme="filled" theme="filled"
@click=" @click="
(e) => { (e) => {
e.stopPropagation() e.stopPropagation()
e.preventDefault() e.preventDefault()
} }
" "

View File

@ -84,7 +84,7 @@
show-search show-search
optionFilterProp="title" optionFilterProp="title"
> >
<a-select-option <a-select-option
v-for="attr in filterAttributes(row.isParent ? row.attributes : attributes)" v-for="attr in filterAttributes(row.isParent ? row.attributes : attributes)"
:key="attr.id" :key="attr.id"
:value="attr.id" :value="attr.id"
@ -535,7 +535,7 @@ export default {
const { source_ci_type_id: parentId, id: childrenId, constraint, relation_type } = row const { source_ci_type_id: parentId, id: childrenId, constraint, relation_type } = row
const _find = this.relationTypes.find((item) => item.name === relation_type) const _find = this.relationTypes.find((item) => item.name === relation_type)
const relation_type_id = _find?.id const relation_type_id = _find?.id
const { const {
parent_attr_ids, parent_attr_ids,
child_attr_ids, child_attr_ids,