From b50cf64990ce7bc3fbc7e946d5241d1612f510c6 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Mon, 24 Nov 2025 14:01:22 +0800 Subject: [PATCH] x --- src/components/community/RoomDecorationRecord.vue | 6 +++--- src/components/upload/uploadVedio.vue | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/community/RoomDecorationRecord.vue b/src/components/community/RoomDecorationRecord.vue index fbd50a9..7fbbdd8 100644 --- a/src/components/community/RoomDecorationRecord.vue +++ b/src/components/community/RoomDecorationRecord.vue @@ -42,7 +42,7 @@ import { updateRoomDecorationRecord } from '@/api/community/listRoomDecorationRecordApi' import { getCommunityId } from '@/api/community/communityApi' import UploadImageUrl from '@/components/upload/UploadImageUrl' -import UploadVedio from './UploadVedio' +import UploadVedio from '@/components/upload/uploadVedio' export default { name: 'RoomDecorationRecord', @@ -96,8 +96,8 @@ export default { handleImageChange(photosUrl) { this.roomDecorationRecordInfo.photos = photosUrl }, - handleVideoChange(videoInfo) { - this.roomDecorationRecordInfo.videoName = videoInfo.realFileName + handleVideoChange(realFileName) { + this.roomDecorationRecordInfo.videoName = realFileName }, validateForm() { if (!this.roomDecorationRecordInfo.isTrue) { diff --git a/src/components/upload/uploadVedio.vue b/src/components/upload/uploadVedio.vue index 7eb4482..973a4ab 100644 --- a/src/components/upload/uploadVedio.vue +++ b/src/components/upload/uploadVedio.vue @@ -58,6 +58,7 @@ export default { if (res.realFileName) { this.progress = 100 this.realFileName = res.realFileName + this.$emit('change', this.realFileName) this.$message.success(this.$t('common.operationSuccess')) } } catch (error) { -- libgit2 0.21.4