|
@@ -1,5 +1,5 @@
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
-// import { marked } from 'marked'
|
|
|
|
|
|
+import { marked } from 'marked'
|
|
import PptxGenJS from 'pptxgenjs'
|
|
import PptxGenJS from 'pptxgenjs'
|
|
|
|
|
|
const props = defineProps<{
|
|
const props = defineProps<{
|
|
@@ -10,7 +10,7 @@ const props = defineProps<{
|
|
}>()
|
|
}>()
|
|
|
|
|
|
// const showMsg = $computed(() => marked(decodeURIComponent(props.d!)))
|
|
// const showMsg = $computed(() => marked(decodeURIComponent(props.d!)))
|
|
-const showMsg = $computed(() => (props.d!))
|
|
|
|
|
|
+const showMsg = $computed(() => marked(props.d!))
|
|
|
|
|
|
let isWorking = ref(false)
|
|
let isWorking = ref(false)
|
|
function downloadPptx() {
|
|
function downloadPptx() {
|