【修改】 wps出题页面优化

This commit is contained in:
DESKTOP-932OMT8\REN
2025-06-05 16:21:57 +08:00
parent 2dabbfafd3
commit ee776e7961
5 changed files with 66 additions and 38 deletions

View File

@@ -439,9 +439,11 @@ const addPptxInfo = async () => {
if (filePath == '' || filePath == null) {
return
}
const res = await PptxApi.getPptxInfo(filePath)
pptxPointsList.value = []
pptxPointsList.value.push(...handleTree(res))
if (pptxPointsList.value.length <= 0) {
const res = await PptxApi.getPptxInfo(filePath)
pptxPointsList.value = []
pptxPointsList.value.push(...handleTree(res))
}
dialogFormVisiblePptxInfo.value = true
}
const queryParams = reactive({