|
|
@ -50,6 +50,7 @@ const selectedRowIndex = ref(0) |
|
|
|
const isAltKeyDown = ref(false) |
|
|
|
const isAltKeyDown = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const linkRow = async (row: Record<string, any>) => { |
|
|
|
const linkRow = async (row: Record<string, any>) => { |
|
|
|
|
|
|
|
childrenExcludedList.value?.list?.splice(selectedRowIndex.value, 1) |
|
|
|
if (isNew.value) { |
|
|
|
if (isNew.value) { |
|
|
|
addLTARRef(row, column?.value as ColumnType) |
|
|
|
addLTARRef(row, column?.value as ColumnType) |
|
|
|
saveRow!() |
|
|
|
saveRow!() |
|
|
@ -57,7 +58,7 @@ const linkRow = async (row: Record<string, any>) => { |
|
|
|
await link(row) |
|
|
|
await link(row) |
|
|
|
} |
|
|
|
} |
|
|
|
if (isAltKeyDown.value) { |
|
|
|
if (isAltKeyDown.value) { |
|
|
|
loadChildrenExcludedList() |
|
|
|
if (!isNew.value) loadChildrenExcludedList() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
vModel.value = false |
|
|
|
vModel.value = false |
|
|
|
} |
|
|
|
} |
|
|
|