update dep

This commit is contained in:
2023-07-05 12:15:25 +08:00
parent ea9e582683
commit f50b6f4d0e
3 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,10 @@ import { createApp } from "vue";
import Cookies from "js-cookie";
import "highlight.js/styles/atom-one-light.css";
import "highlight.js/lib/common";
import hljsVuePlugin from "@highlightjs/vue-plugin";
import ElementPlus from "element-plus";
import locale from "element-plus/lib/locale/lang/zh-cn"; // 中文语言
import "@/assets/styles/index.scss"; // global css
@ -70,6 +74,7 @@ app.use(router);
app.use(store);
app.use(plugins);
app.use(elementIcons);
app.use(hljsVuePlugin);
app.component("svg-icon", SvgIcon);
directive(app);

View File

@ -205,7 +205,7 @@
style="float: right"
> 复制
</el-link>
<pre>{{ value }}</pre>
<highlightjs :code="value"></highlightjs>
</el-tab-pane>
</el-tabs>
</el-dialog>