| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-25 10:56:27 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-10-31 11:01:20 |
| | | * @LastEditTime: 2024-11-08 20:11:07 |
| | | * @FilePath: \bigScreen\src\main.js |
| | | * @Description: |
| | | * |
| | |
| | | import './permission' |
| | | |
| | | // 全局组件自动注册 |
| | | import components from '@/components/index' |
| | | import GlobalSearch from 'components/global/GlobalSearch.vue' |
| | | // import GlobalTable from 'components/global/GlobalTable.vue' |
| | | import MapContainer from 'components/global/MapContainer.vue' |
| | | import publicBox from 'components/global/publicBox.vue' |
| | | import TitleBox from 'components/global/TitleBox.vue' |
| | | |
| | | import { getElementLabelLine } from 'element-tree-line'; |
| | | import 'element-tree-line/dist/style.css'; |
| | | import { getElementLabelLine } from 'element-tree-line' |
| | | import 'element-tree-line/dist/style.css' |
| | | |
| | | import * as DC from '@dvgis/dc-sdk' |
| | | import '@dvgis/dc-sdk/dist/dc.min.css' |
| | |
| | | const pinia = createPinia() |
| | | |
| | | pinia.use(piniaPersistPlugin) |
| | | const ElementLabelLine = getElementLabelLine(h); |
| | | app.component(ElementLabelLine.name, ElementLabelLine); |
| | | const ElementLabelLine = getElementLabelLine(h) |
| | | app.component(ElementLabelLine.name, ElementLabelLine) |
| | | |
| | | app.component('GlobalSearch', GlobalSearch) |
| | | // app.component('GlobalTable', GlobalTable) |
| | | app.component('MapContainer', MapContainer) |
| | | app.component('publicBox', publicBox) |
| | | app.component('TitleBox', TitleBox) |
| | | |
| | | app.use(router) |
| | | app.use(ElementPlus) |
| | | app.use(pinia) |
| | | app.use(components) |
| | | app.mount('#app') |
| | | router.isReady().then(() => app.mount('#app')) |