From 56d13900e2d74eeb9e22a9d86dc929640a676f6f Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期一, 17 三月 2025 17:21:43 +0800
Subject: [PATCH] fix:修改框架,初始化项目模板

---
 src/main.js |   30 +-----------------------------
 1 files changed, 1 insertions(+), 29 deletions(-)

diff --git a/src/main.js b/src/main.js
index 9eb4825..4385060 100644
--- a/src/main.js
+++ b/src/main.js
@@ -37,27 +37,8 @@
 
 // 分页组件
 import Pagination from '@/components/Pagination'
-// 自定义表格工具组件
-import RightToolbar from '@/components/RightToolbar'
-// 富文本组件
-import Editor from "@/components/Editor"
-// 文件上传组件
-import FileUpload from "@/components/FileUpload"
-// 图片上传组件
-import ImageUpload from "@/components/ImageUpload"
-// 图片预览组件
-import ImagePreview from "@/components/ImagePreview"
 // 自定义树选择组件
 import TreeSelect from '@/components/TreeSelect'
-// 字典标签组件
-import DictTag from '@/components/DictTag'
-//Echarts图表
-import EchartsArea from '@/components/EchartsArea'
-
-//自定义文件上传
-import UploadFile from "@/components/UploadFile"
-//多张图片上传
-import UploadIcons from "@/components/UploadIcons"
 
 
 //数据持久化
@@ -75,20 +56,11 @@
 app.config.globalProperties.handleTree = handleTree
 app.config.globalProperties.addDateRange = addDateRange
 app.config.globalProperties.selectDictLabel = selectDictLabel
-app.config.globalProperties.selectDictLabels = selectDictLabels  
+app.config.globalProperties.selectDictLabels = selectDictLabels
 
 // 全局组件挂载
-app.component('EchartsArea', EchartsArea)
-app.component('DictTag', DictTag)
 app.component('Pagination', Pagination)
 app.component('TreeSelect', TreeSelect)
-app.component('FileUpload', FileUpload)
-app.component('UploadFile', UploadFile)
-app.component('UploadIcons', UploadIcons)
-app.component('ImageUpload', ImageUpload)
-app.component('ImagePreview', ImagePreview)
-app.component('RightToolbar', RightToolbar)
-app.component('Editor', Editor)
 
 
 import { addActiveRoute } from '@/utils/index'

--
Gitblit v1.9.3