This commit is contained in:
wuxw 2025-11-24 14:01:22 +08:00
parent 4afadb73e7
commit b50cf64990
2 changed files with 4 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {