mirror of https://github.com/veops/cmdb.git
fix(cmdb-ui):relation views
This commit is contained in:
parent
757a9a3a00
commit
83c6d347d7
|
@ -1102,7 +1102,7 @@ export default {
|
||||||
handleEditActived() {
|
handleEditActived() {
|
||||||
const passwordCol = this.columns.filter((col) => col.is_password)
|
const passwordCol = this.columns.filter((col) => col.is_password)
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const editRecord = this.$refs.xTable.getVxetableRef().getEditRecord()
|
const editRecord = this.$refs.xTable.getEditRecord()
|
||||||
const { row, column } = editRecord
|
const { row, column } = editRecord
|
||||||
if (passwordCol.length && this.lastEditCiId !== row._id) {
|
if (passwordCol.length && this.lastEditCiId !== row._id) {
|
||||||
this.$nextTick(async () => {
|
this.$nextTick(async () => {
|
||||||
|
@ -1113,10 +1113,10 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.isContinueCloseEdit = false
|
this.isContinueCloseEdit = false
|
||||||
await this.$refs.xTable.getVxetableRef().clearEdit()
|
await this.$refs.xTable.clearEdit()
|
||||||
this.isContinueCloseEdit = true
|
this.isContinueCloseEdit = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.xTable.getVxetableRef().setEditCell(row, column.field)
|
this.$refs.xTable.setEditCell(row, column.field)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue