From 87535dec249ce40342fc1a6cb9fba130c842fce0 Mon Sep 17 00:00:00 2001 From: du <13220750630.163.com> Date: 星期四, 17 四月 2025 16:55:47 +0800 Subject: [PATCH] 默认值 --- easegen-front/src/views/myCourse/index.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/easegen-front/src/views/myCourse/index.vue b/easegen-front/src/views/myCourse/index.vue index 6da1c7d..9a4fe19 100644 --- a/easegen-front/src/views/myCourse/index.vue +++ b/easegen-front/src/views/myCourse/index.vue @@ -298,7 +298,7 @@ <el-form :model="formData1" label-width="120px"> <el-form-item label="瑙嗛鏍煎紡"> <el-select v-model="formData1.isvideo" class="!w-240px"> - <el-option :disabled="formData1.value?.subtitlesAddStatus!=2" label="瀛楀箷瑙嗛" :value="1" /> + <el-option :disabled="formData1.value.subtitlesAddStatus!=2" label="瀛楀箷瑙嗛" :value="1" /> <el-option label="鍘熻棰�" :value="2" /> </el-select> </el-form-item> @@ -541,6 +541,7 @@ } } const pauseAllVideos = (dialogType: 'subtitle' | 'headerFooter') => { + formData1.isvideo = 2 if (dialogType === 'subtitle' && subtitleVideo.value) { subtitleVideo.value.pause() } @@ -1017,6 +1018,7 @@ // 搴旂敤鐗囧ご鐗囧熬璁剧疆 const applyHeaderFooter = async () => { + formData1.isvideo = '2' try { const title = await pptTemplateApi.createVideo(headerFooterForm) if (title) { -- Gitblit v1.9.3