【修改】文件操作选中的时候附带文件/文件夹的属性
This commit is contained in:
@@ -533,6 +533,7 @@ const handleFileNodeClick = (data) => {
|
|||||||
const fullPath = pathArray.join('\\')
|
const fullPath = pathArray.join('\\')
|
||||||
if (currentEditingRow.value) {
|
if (currentEditingRow.value) {
|
||||||
currentEditingRow.value.content = fullPath
|
currentEditingRow.value.content = fullPath
|
||||||
|
currentEditingRow.value.attribute = data.attribute || ''
|
||||||
}
|
}
|
||||||
fileTreeDialogVisible.value = false
|
fileTreeDialogVisible.value = false
|
||||||
}
|
}
|
||||||
@@ -600,7 +601,8 @@ async function confirmKao() {
|
|||||||
content: item.content,
|
content: item.content,
|
||||||
quId:kaodianData.value.quId,
|
quId:kaodianData.value.quId,
|
||||||
contentIn:item.contentIn,
|
contentIn:item.contentIn,
|
||||||
scoreRate:item.scoreRate
|
scoreRate:item.scoreRate,
|
||||||
|
attribute:item.attribute
|
||||||
}));
|
}));
|
||||||
const payload = {
|
const payload = {
|
||||||
quId:kaodianData.value.quId,
|
quId:kaodianData.value.quId,
|
||||||
|
Reference in New Issue
Block a user