Commit b50cf64990ce7bc3fbc7e946d5241d1612f510c6
1 parent
4afadb73
x
Showing
2 changed files
with
4 additions
and
3 deletions
src/components/community/RoomDecorationRecord.vue
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | import { updateRoomDecorationRecord } from '@/api/community/listRoomDecorationRecordApi' |
| 43 | 43 | import { getCommunityId } from '@/api/community/communityApi' |
| 44 | 44 | import UploadImageUrl from '@/components/upload/UploadImageUrl' |
| 45 | -import UploadVedio from './UploadVedio' | |
| 45 | +import UploadVedio from '@/components/upload/uploadVedio' | |
| 46 | 46 | |
| 47 | 47 | export default { |
| 48 | 48 | name: 'RoomDecorationRecord', |
| ... | ... | @@ -96,8 +96,8 @@ export default { |
| 96 | 96 | handleImageChange(photosUrl) { |
| 97 | 97 | this.roomDecorationRecordInfo.photos = photosUrl |
| 98 | 98 | }, |
| 99 | - handleVideoChange(videoInfo) { | |
| 100 | - this.roomDecorationRecordInfo.videoName = videoInfo.realFileName | |
| 99 | + handleVideoChange(realFileName) { | |
| 100 | + this.roomDecorationRecordInfo.videoName = realFileName | |
| 101 | 101 | }, |
| 102 | 102 | validateForm() { |
| 103 | 103 | if (!this.roomDecorationRecordInfo.isTrue) { | ... | ... |
src/components/upload/uploadVedio.vue