From 5eb6903bde0b9be730b35fc116eabf808f8f64e0 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期二, 18 三月 2025 11:33:58 +0800 Subject: [PATCH] fix:简化项目模板&剔除无用部分 --- src/main.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 4385060..3ee2f7a 100644 --- a/src/main.js +++ b/src/main.js @@ -23,7 +23,6 @@ // 注册指令 import plugins from './plugins' // plugins -// import { download } from '@/utils/request' // svg图标 import 'virtual:svg-icons-register' @@ -39,6 +38,10 @@ import Pagination from '@/components/Pagination' // 自定义树选择组件 import TreeSelect from '@/components/TreeSelect' +// 自定义表格工具组件 +import RightToolbar from '@/components/RightToolbar' +//多张图片上传 +import UploadIcons from "@/components/UploadIcons" //数据持久化 @@ -61,6 +64,8 @@ // 全局组件挂载 app.component('Pagination', Pagination) app.component('TreeSelect', TreeSelect) +app.component('RightToolbar', RightToolbar) +app.component('UploadIcons', UploadIcons) import { addActiveRoute } from '@/utils/index' -- Gitblit v1.9.3