2025-08-29 15:48:33 +08:00
|
|
|
import { createApp } from 'vue'
|
|
|
|
|
import App from './App.vue'
|
2025-09-01 16:58:54 +08:00
|
|
|
|
2025-08-29 15:48:33 +08:00
|
|
|
import router from './router'
|
|
|
|
|
import store from './store'
|
|
|
|
|
import Antd from 'ant-design-vue'
|
|
|
|
|
import 'ant-design-vue/dist/reset.css'
|
|
|
|
|
import '@/style/index.scss'
|
2025-09-01 16:58:54 +08:00
|
|
|
// import '@/assets/iconfont/iconfont.css'
|
|
|
|
|
import * as echarts from 'echarts'
|
2025-09-05 09:26:14 +08:00
|
|
|
import { setWidth } from '@/utils/column'
|
|
|
|
|
import { getBtns } from '@/utils/btnList'
|
2025-09-01 16:58:54 +08:00
|
|
|
import VueTianditu from 'vue-tianditu'
|
2025-09-04 13:42:48 +08:00
|
|
|
import SearchBox from '@/components/SearchBox.vue'
|
|
|
|
|
import ComTable from '@/components/ComTable.vue'
|
2025-09-01 16:58:54 +08:00
|
|
|
|
|
|
|
|
const app = createApp(App)
|
2025-09-04 13:42:48 +08:00
|
|
|
|
|
|
|
|
app.component('SearchBox', SearchBox)
|
|
|
|
|
app.component('ComTable', ComTable)
|
|
|
|
|
|
2025-09-01 16:58:54 +08:00
|
|
|
app.config.globalProperties.$echarts = echarts // 挂载到全局属性
|
2025-09-05 09:26:14 +08:00
|
|
|
app.config.globalProperties.$setWidth = setWidth // 挂载到全局属性
|
|
|
|
|
app.config.globalProperties.$getBtns = getBtns
|
2025-08-29 12:06:02 +08:00
|
|
|
|
2025-09-01 16:58:54 +08:00
|
|
|
app.use(store).use(router).use(Antd).use(VueTianditu).mount('#app')
|