mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-09 07:31:52 +08:00
fix: 引入 v-dompurify-html 指令解决 v-html 的安全隐患
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
>
|
||||
<!-- 展示 HTML 内容 -->
|
||||
<template #description="{ row }">
|
||||
<div style="width: 600px" v-html="row.description"></div>
|
||||
<div v-dompurify-html="row.description" style="width: 600px"></div>
|
||||
</template>
|
||||
</Descriptions>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user