From 68d122e38d4833f58b3804283e19f3f099676275 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 26 May 2023 14:07:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8A=A5=E9=94=99=E5=85=BC?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/qujing/app/AppCurriculumManage/components/Add.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/qujing/app/AppCurriculumManage/components/Add.vue b/project/qujing/app/AppCurriculumManage/components/Add.vue index be194674..5448af5a 100644 --- a/project/qujing/app/AppCurriculumManage/components/Add.vue +++ b/project/qujing/app/AppCurriculumManage/components/Add.vue @@ -219,8 +219,8 @@ export default { this.isLoading = true this.instance.post(`/app/appcourseinfo/addOrUpdate`, { ...this.form, - videoUrl: this.form.courseType === '1' ? this.form.videoUrl[0].url : '', - pictureUrl: this.form.pictureUrl.length ? this.form.pictureUrl[0].url : '' + videoUrl: this.form.courseType === '1' ? this.form.videoUrl[0]?.url : '', + pictureUrl: this.form.pictureUrl.length ? this.form.pictureUrl[0]?.url : '' }).then(res => { if (res.code == 0) { this.$message.success('提亀成功')