新增图片上传组件

This commit is contained in:
RuoYi
2021-12-30 10:25:40 +08:00
parent ec4170a4f1
commit 61161cdd69
2 changed files with 200 additions and 0 deletions

View File

@ -31,6 +31,8 @@ import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel } from
import Pagination from '@/components/Pagination'
// 自定义表格工具组件
import RightToolbar from '@/components/RightToolbar'
// 图片上传组件
import ImageUpload from "@/components/ImageUpload"
// 自定义树选择组件
import TreeSelect from '@/components/TreeSelect'
// 字典标签组件
@ -51,6 +53,7 @@ app.config.globalProperties.selectDictLabel = selectDictLabel
app.component('DictTag', DictTag)
app.component('Pagination', Pagination)
app.component('TreeSelect', TreeSelect)
app.component('ImageUpload', ImageUpload)
app.component('RightToolbar', RightToolbar)
app.use(router)