mirror of https://github.com/veops/cmdb.git
fix(ui): lint error
This commit is contained in:
parent
3200942373
commit
6fa0dd5bc5
|
@ -311,7 +311,7 @@
|
||||||
theme="filled"
|
theme="filled"
|
||||||
@click="
|
@click="
|
||||||
(e) => {
|
(e) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
|
@ -304,7 +304,7 @@
|
||||||
theme="filled"
|
theme="filled"
|
||||||
@click="
|
@click="
|
||||||
(e) => {
|
(e) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue