| | |
| | | import dayjs from 'dayjs' |
| | | import 'styles/common.scss' |
| | | import * as Cesium from 'cesium' |
| | | import _ from 'lodash' |
| | | |
| | | // 视频回放 |
| | | import 'video.js/dist/video-js.css' |
| | |
| | | |
| | | // 业务组件 |
| | | import tenantPackage from './views/system/tenantpackage.vue' |
| | | // 地图依赖 |
| | | import mapContainer from './components/map-container/mapContainer.vue' |
| | | |
| | | import * as DC from '@dvgis/dc-sdk' |
| | | import '@dvgis/dc-sdk/dist/dc.min.css' |
| | |
| | | location.reload() |
| | | } else { |
| | | if (localStorage.getItem("isReload")) { |
| | | localStorage.removeItem("isReload") |
| | | localStorage.removeItem('isReload') |
| | | } |
| | | } |
| | | |
| | | |
| | | window.$crudCommon = crudCommon |
| | | window.axios = axios |
| | | window._ = _ |
| | | const app = createApp(App) |
| | | for (const [key, component] of Object.entries(ElementPlusIconsVue)) { |
| | | app.component(key, component) |
| | |
| | | app.component('thirdRegister', thirdRegister) |
| | | app.component('flowDesign', flowDesign) |
| | | app.component('tenantPackage', tenantPackage) |
| | | app.component('mapContainer', mapContainer) |
| | | |
| | | |
| | | app.config.globalProperties.$dayjs = dayjs |
| | | app.config.globalProperties.website = website |