From ac03526ea51cb1baae67ab7dd2ee1e085f6a57a4 Mon Sep 17 00:00:00 2001 From: java2sap <39330069+sapuser2017@users.noreply.github.com> Date: 星期五, 31 十二月 2021 13:33:50 +0800 Subject: [PATCH] Update vite.config.js --- src/main.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 9398b0c..664a465 100644 --- a/src/main.js +++ b/src/main.js @@ -31,8 +31,12 @@ import Pagination from '@/components/Pagination' // 鑷畾涔夎〃鏍煎伐鍏风粍浠� import RightToolbar from '@/components/RightToolbar' +// 鏂囦欢涓婁紶缁勪欢 +import FileUpload from "@/components/FileUpload" // 鍥剧墖涓婁紶缁勪欢 import ImageUpload from "@/components/ImageUpload" +// 鍥剧墖棰勮缁勪欢 +import ImagePreview from "@/components/ImagePreview" // 鑷畾涔夋爲閫夋嫨缁勪欢 import TreeSelect from '@/components/TreeSelect' // 瀛楀吀鏍囩缁勪欢 @@ -53,7 +57,9 @@ app.component('DictTag', DictTag) app.component('Pagination', Pagination) app.component('TreeSelect', TreeSelect) +app.component('FileUpload', FileUpload) app.component('ImageUpload', ImageUpload) +app.component('ImagePreview', ImagePreview) app.component('RightToolbar', RightToolbar) app.use(router) -- Gitblit v1.9.3