mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 11:38:55 +08:00
feat(ui): lint
This commit is contained in:
@@ -241,7 +241,7 @@ export default {
|
||||
this.$nextTick(async () => {
|
||||
if (this.attr.is_list && !this.attr.is_choice) {
|
||||
this.form.setFieldsValue({
|
||||
[`${this.attr.name}`]: this.ci[this.attr.name]|| null,
|
||||
[`${this.attr.name}`]: this.ci[this.attr.name] || null,
|
||||
})
|
||||
return
|
||||
}
|
||||
|
@@ -61,7 +61,7 @@
|
||||
</vxe-column>
|
||||
<vxe-column field="type_id" title="模型" width="150px">
|
||||
<template #default="{ row }">
|
||||
{{ row.operate_type === '删除模型' ? row.change.alias : row.type_id}}
|
||||
{{ row.operate_type === '删除模型' ? row.change.alias : row.type_id }}
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="changeDescription" title="描述">
|
||||
|
@@ -58,8 +58,12 @@
|
||||
/>
|
||||
<div class="relation-views-right-bar">
|
||||
<a-space>
|
||||
<a-button v-if="isLeaf" type="primary" size="small" @click="$refs.create.handleOpen(true, 'create')"
|
||||
>新建</a-button
|
||||
<a-button
|
||||
v-if="isLeaf"
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="$refs.create.handleOpen(true, 'create')"
|
||||
>新建</a-button
|
||||
>
|
||||
|
||||
<div class="ops-list-batch-action" v-if="isLeaf && isShowBatchIcon">
|
||||
|
@@ -14,12 +14,16 @@
|
||||
}
|
||||
"
|
||||
class="cmdb-views-header-metadata"
|
||||
><a-icon type="info-circle" />
|
||||
><a-icon type="info-circle" />
|
||||
属性说明
|
||||
</span>
|
||||
</span>
|
||||
<a-button size="small" icon="plus" type="primary" @click="$refs.create.handleOpen(true, 'create')"
|
||||
>新建</a-button
|
||||
<a-button
|
||||
size="small"
|
||||
icon="plus"
|
||||
type="primary"
|
||||
@click="$refs.create.handleOpen(true, 'create')"
|
||||
>新建</a-button
|
||||
>
|
||||
</div>
|
||||
<SplitPane
|
||||
|
Reference in New Issue
Block a user