Commit 18e95dce authored by liaozan's avatar liaozan 🏀

feat: fileContent preview with highlight

parent 109c7789
......@@ -29,7 +29,7 @@
<a-modal v-model:visible="contentPreviewVisible" :footer="null" title="文件内容预览" width="1000px">
<!--suppress HtmlUnknownTag -->
<highlightjs :code="fileContent" autodetect/>
<highlightjs :code="fileContent" autodetect></highlightjs>
</a-modal>
</div>
</template>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment