|
@@ -102,12 +102,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
- <script lang="ts" setup>
|
|
|
|
|
-import type { PropType } from "vue";
|
|
|
|
|
-import type { PPTFrameElement } from "@/types/slides";
|
|
|
|
|
-import { lang } from "@/main";
|
|
|
|
|
-import TopicDiscussionPreview from "@/views/Editor/EnglishSpeaking/preview/TopicDiscussionPreview.vue";
|
|
|
|
|
-import { ref, watch, nextTick } from "vue";
|
|
|
|
|
|
|
+<script lang="ts" setup>
|
|
|
|
|
+import type { PropType } from 'vue'
|
|
|
|
|
+import type { PPTFrameElement } from '@/types/slides'
|
|
|
|
|
+import { lang } from '@/main'
|
|
|
|
|
+import TopicDiscussionPreview from '@/views/Editor/EnglishSpeaking/preview/TopicDiscussionPreview.vue'
|
|
|
|
|
+import { ref, watch, nextTick } from 'vue'
|
|
|
import { computed } from 'vue'
|
|
import { computed } from 'vue'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
@@ -172,7 +172,8 @@ const getTypeLabel = (type: number): string => {
|
|
|
74: 'ssVideo',
|
|
74: 'ssVideo',
|
|
|
75: lang.lang == 'cn' ? 'ssBiliVideo' : 'ssYouTube',
|
|
75: lang.lang == 'cn' ? 'ssBiliVideo' : 'ssYouTube',
|
|
|
76: 'ssCreateSpace',
|
|
76: 'ssCreateSpace',
|
|
|
- 77: "ssEnglishSpeakingTool",
|
|
|
|
|
|
|
+ 77: 'ssEnglishSpeakingTool',
|
|
|
|
|
+ 78: 'ssVote',
|
|
|
}
|
|
}
|
|
|
const key = typeMap[type]
|
|
const key = typeMap[type]
|
|
|
return (key ? lang[key] : lang.ssUnknown) as string
|
|
return (key ? lang[key] : lang.ssUnknown) as string
|