BUG修复

This commit is contained in:
朱浩 2024-09-20 15:29:21 +08:00
parent fa7a44472b
commit ac599a2c39
2 changed files with 5 additions and 5 deletions

View File

@ -115,7 +115,7 @@ const updateForm = ref({})
watch(
() => props.currentNode,
(newValue, oldValue) => {
form.name = newValue.label
form.name = newValue.itemtitle
}
)
const ruleForm = reactive({
@ -216,7 +216,7 @@ const openDialog = (data) => {
const closeDialog = () => {
ruleFormDialog.value.resetFields()
centerDialogVisible.value = false
form.name = props.currentNode.label
form.name = props.currentNode.itemtitle
emit('close')
}

View File

@ -368,7 +368,7 @@ export default {
this.downloadNum = num
},
createFile() {
creatPPT(this.currentNode.label + '.pptx', this.uploadData).then((res) => {
creatPPT(this.currentNode.itemtitle + '.pptx', this.uploadData).then((res) => {
this.currentFileList.unshift(res.resData)
})
},
@ -448,7 +448,7 @@ export default {
creatAPT({
...this.uploadData,
fileId: slideid,
fileShowName: this.currentNode.label + '.apt'
fileShowName: this.currentNode.itemtitle + '.apt'
}).then((res) => {
this.currentFileList.unshift(res.resData)
})
@ -665,7 +665,7 @@ export default {
'/tool/sphere?entpcourseid=' +
this.entpcourseid +
'&label=' +
this.currentNode.label +
this.currentNode.itemtitle +
'&reservId=' +
id
})