| | |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | */ |
| | | import { createApp } from 'vue' |
| | | |
| | | import Cookies from 'js-cookie' |
| | | |
| | | import ElementPlus from 'element-plus' |
| | |
| | | import store from './store' |
| | | import router from './router' |
| | | import directive from './directive' // directive |
| | | import './utils/rem.js' |
| | | |
| | | // 注册指令 |
| | | import plugins from './plugins' // plugins |
| | | // import { download } from '@/utils/request' |
| | | |
| | | // svg图标 |
| | | import 'virtual:svg-icons-register' |
| | |
| | | |
| | | // 分页组件 |
| | | 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 RightToolbar from '@/components/RightToolbar' |
| | | //多张图片上传 |
| | | import UploadIcons from "@/components/UploadIcons" |
| | | |
| | |
| | | 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) |
| | | app.component('UploadIcons', UploadIcons) |
| | | |
| | | |
| | | import { addActiveRoute } from '@/utils/index' |