feat:图片预览组件

This commit is contained in:
dzc committed 2024-12-30 16:29:06 +08:00
1 parent 1b80008091
commit 8e12194caf
4 files changed
+81 -2

No files matched your search

+2
View File
@@ -11,6 +11,7 @@ import Editor from '/@/components/Editor/index.vue';
import Tip from '/@/components/Tip/index.vue';
import TagList from '/@/components/TagList/index.vue';
import SvgIcon from '/@/components/SvgIcon/index.vue';
import PreviewImage from "/@/components/PreviewImage/index.vue"
// 第三方组件
import ElementPlus from 'element-plus';
@@ -45,6 +46,7 @@ export default {
app.component('DelWrap', DelWrap);
app.component('TagList', TagList);
app.component('SvgIcon', SvgIcon);
app.component('PreviewImage',PreviewImage)
// 导入全部的elmenet-plus的图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {