【修改】文件操作选中的时候附带文件/文件夹的属性

This commit is contained in:
YOHO\20373
2025-06-11 15:27:49 +08:00
committed by 陆光LG
parent 0b2b4d1dc5
commit a8d7eae934

View File

@@ -533,6 +533,7 @@ const handleFileNodeClick = (data) => {
const fullPath = pathArray.join('\\')
if (currentEditingRow.value) {
currentEditingRow.value.content = fullPath
currentEditingRow.value.attribute = data.attribute || ''
}
fileTreeDialogVisible.value = false
}
@@ -600,7 +601,8 @@ async function confirmKao() {
content: item.content,
quId:kaodianData.value.quId,
contentIn:item.contentIn,
scoreRate:item.scoreRate
scoreRate:item.scoreRate,
attribute:item.attribute
}));
const payload = {
quId:kaodianData.value.quId,