新增图片预览组件

This commit is contained in:
RuoYi
2021-12-30 10:51:17 +08:00
parent 61161cdd69
commit cda383534e
2 changed files with 70 additions and 0 deletions

View File

@ -33,6 +33,8 @@ import Pagination from '@/components/Pagination'
import RightToolbar from '@/components/RightToolbar'
// 图片上传组件
import ImageUpload from "@/components/ImageUpload"
// 图片预览组件
import ImagePreview from "@/components/ImagePreview"
// 自定义树选择组件
import TreeSelect from '@/components/TreeSelect'
// 字典标签组件
@ -54,6 +56,7 @@ app.component('DictTag', DictTag)
app.component('Pagination', Pagination)
app.component('TreeSelect', TreeSelect)
app.component('ImageUpload', ImageUpload)
app.component('ImagePreview', ImagePreview)
app.component('RightToolbar', RightToolbar)
app.use(router)