diff --git a/ucStoryEditor/ucStoryEditor.vue b/ucStoryEditor/ucStoryEditor.vue index fa655eb..fc254e9 100644 --- a/ucStoryEditor/ucStoryEditor.vue +++ b/ucStoryEditor/ucStoryEditor.vue @@ -53,7 +53,7 @@ export default { if (!Array.isArray(this.storyContent)) { this.storyContent = [] } - let { _state, fileUrl, ...rest } = await this.$T.pickupFile2Cloud({ mediaType: 'image' }) + let { _state, fileUrl, ...rest } = await wo.pickupFile2Cloud({ mediaType: 'image' }) if (_state === 'SUCCESS') { this.storyContent.push({ image: fileUrl }) } @@ -62,7 +62,7 @@ export default { if (!Array.isArray(this.storyContent)) { this.storyContent = [] } - let { _state, fileUrl, ...rest } = await this.$T.pickupFile2Cloud({ mediaType: 'video' }) + let { _state, fileUrl, ...rest } = await wo.pickupFile2Cloud({ mediaType: 'video' }) if (_state === 'SUCCESS') { this.storyContent.push({ video: fileUrl }) } @@ -85,7 +85,7 @@ export default { if (this.storyContent.length > 1) { this.storyContent.splice(index, 1) } else { - this.$T.showToast({ type: this.$T.YELLOW, title: this.$ll({ zhCN: '不能删除唯一的段落!', enUS: 'Cannot delete the last section!' }) }) + wo.showToast({ type: wo.YELLOW, title: this.$ll({ zhCN: '不能删除唯一的段落!', enUS: 'Cannot delete the last section!' }) }) } } }, @@ -127,21 +127,21 @@ export default { - + {{ $ll({ zhCN:'文字', enUS:'Text' }) || 'Text' }} - + {{ $ll({ zhCN:'照片', enUS:'Photo' }) || 'Photo' }} - + {{ $ll({ zhCN:'视频', enUS:'Video' }) || 'Video' }} - {{ $ll({zhCN:'发表', enUS:'Publish'}) || 'Publish' }} + {{ $ll({zhCN:'发表', enUS:'Publish'}) || 'Publish' }}