增加多图片自动生成功能

This commit is contained in:
piexlMax
2023-07-18 22:19:12 +08:00
parent 350ce2ad35
commit c618fcafaa
11 changed files with 130 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
</template>
<script setup>
import {marked} from 'marked'
import marked from 'marked'
import hljs from 'highlight.js'
import 'highlight.js/styles/atom-one-dark.css'
import { ElMessage } from 'element-plus'
@@ -39,7 +39,7 @@ onMounted(() => {
smartLists: true,
smartypants: false,
xhtml: false,
langPrefix:"hljs language-"
langPrefix: 'hljs language-'
})
for (const key in props.previewCode) {
if (activeName.value === '') {