mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
x
This commit is contained in:
parent
4afadb73e7
commit
b50cf64990
@ -42,7 +42,7 @@
|
|||||||
import { updateRoomDecorationRecord } from '@/api/community/listRoomDecorationRecordApi'
|
import { updateRoomDecorationRecord } from '@/api/community/listRoomDecorationRecordApi'
|
||||||
import { getCommunityId } from '@/api/community/communityApi'
|
import { getCommunityId } from '@/api/community/communityApi'
|
||||||
import UploadImageUrl from '@/components/upload/UploadImageUrl'
|
import UploadImageUrl from '@/components/upload/UploadImageUrl'
|
||||||
import UploadVedio from './UploadVedio'
|
import UploadVedio from '@/components/upload/uploadVedio'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'RoomDecorationRecord',
|
name: 'RoomDecorationRecord',
|
||||||
@ -96,8 +96,8 @@ export default {
|
|||||||
handleImageChange(photosUrl) {
|
handleImageChange(photosUrl) {
|
||||||
this.roomDecorationRecordInfo.photos = photosUrl
|
this.roomDecorationRecordInfo.photos = photosUrl
|
||||||
},
|
},
|
||||||
handleVideoChange(videoInfo) {
|
handleVideoChange(realFileName) {
|
||||||
this.roomDecorationRecordInfo.videoName = videoInfo.realFileName
|
this.roomDecorationRecordInfo.videoName = realFileName
|
||||||
},
|
},
|
||||||
validateForm() {
|
validateForm() {
|
||||||
if (!this.roomDecorationRecordInfo.isTrue) {
|
if (!this.roomDecorationRecordInfo.isTrue) {
|
||||||
|
|||||||
@ -58,6 +58,7 @@ export default {
|
|||||||
if (res.realFileName) {
|
if (res.realFileName) {
|
||||||
this.progress = 100
|
this.progress = 100
|
||||||
this.realFileName = res.realFileName
|
this.realFileName = res.realFileName
|
||||||
|
this.$emit('change', this.realFileName)
|
||||||
this.$message.success(this.$t('common.operationSuccess'))
|
this.$message.success(this.$t('common.operationSuccess'))
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user