diff --git a/ucStoryEditor/ucStoryEditor.vue b/ucStoryEditor/ucStoryEditor.vue index 1cc406c..05c408d 100644 --- a/ucStoryEditor/ucStoryEditor.vue +++ b/ucStoryEditor/ucStoryEditor.vue @@ -53,18 +53,18 @@ export default { if (!Array.isArray(this.storyContent)) { this.storyContent = [] } - let { _state, fileID, requestId } = await this.$T.pickupFile2Cloud({ mediaType: 'image' }) + let { _state, fileUrl, ...rest } = await this.$T.pickupFile2Cloud({ mediaType: 'image' }) if (_state === 'SUCCESS') { - this.storyContent.push({ image: fileID }) + this.storyContent.push({ image: fileUrl }) } }, async addVideo() { if (!Array.isArray(this.storyContent)) { this.storyContent = [] } - let { _state, fileID, requestId } = await this.$T.pickupFile2Cloud({ mediaType: 'video' }) + let { _state, fileUrl, ...rest } = await this.$T.pickupFile2Cloud({ mediaType: 'video' }) if (_state === 'SUCCESS') { - this.storyContent.push({ video: fileID }) + this.storyContent.push({ video: fileUrl }) } }, deleteSection(index) {