增加多图片自动生成功能

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
@@ -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 === '') {
+1 -2
View File
@@ -342,9 +342,8 @@ const typeOptions = ref([
value: 'file',
},
{
label: '多图片(开发中)',
label: '多图片(json字符串)',
value: 'pictures',
disabled: true
}
])