fix: eslint

(cherry picked from commit 2dcb73764f)
This commit is contained in:
xingyu 2023-07-29 15:51:45 +08:00 committed by shizhong
parent 2d4c3801f4
commit c50051d930

View File

@ -21,7 +21,7 @@
<XTextButton style="float: right" :title="t('common.copy')" @click="copy(formData)" />
<el-scrollbar height="580">
<div>
<pre><code v-dompurify-html="highlightedCode(formData)" class="hljs"></code></pre>
<pre><code class="hljs" v-dompurify-html="highlightedCode(formData)"></code></pre>
</div>
</el-scrollbar>
</div>
@ -31,11 +31,12 @@
import FcDesigner from '@form-create/designer'
// import { useClipboard } from '@vueuse/core'
import { isString } from '@/utils/is'
import formCreate from '@form-create/element-ui'
import hljs from 'highlight.js' //
import 'highlight.js/styles/github.css' //
import xml from 'highlight.js/lib/languages/java'
import json from 'highlight.js/lib/languages/json'
import formCreate from '@form-create/element-ui'
const { t } = useI18n() //
const message = useMessage() //