fix: 代码生成预览移除 v-dompurify-html 使用 v-html
parent
95e7ffafe0
commit
a026f88fde
|
@ -274,7 +274,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
class="h-full rounded-md bg-gray-50 !p-0 text-gray-800 dark:bg-gray-800 dark:text-gray-200"
|
class="h-full rounded-md bg-gray-50 !p-0 text-gray-800 dark:bg-gray-800 dark:text-gray-200"
|
||||||
>
|
>
|
||||||
<code
|
<code
|
||||||
v-dompurify-html="codeMap.get(activeKey)"
|
v-html="codeMap.get(activeKey)"
|
||||||
class="code-highlight"
|
class="code-highlight"
|
||||||
></code>
|
></code>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue