[add] 新增萤石摄像头抓拍相关逻辑,获取方阵内光伏板、桩点支柱立架、箱变、逆变器地理信息接口
This commit is contained in:
@ -2,6 +2,7 @@ import { createApp } from 'vue';
|
||||
// global css
|
||||
import 'virtual:uno.css';
|
||||
import '@/assets/styles/index.scss';
|
||||
import '@/assets/iconfont/iconfont.css';
|
||||
import 'element-plus/theme-chalk/dark/css-vars.css';
|
||||
|
||||
// App、router、store
|
||||
@ -25,6 +26,14 @@ import HighLight from '@highlightjs/vue-plugin';
|
||||
import 'virtual:svg-icons-register';
|
||||
import ElementIcons from '@/plugins/svgicon';
|
||||
|
||||
//通信
|
||||
import mitt from 'mitt';
|
||||
|
||||
import '@/assets/fonts/fonts.scss';
|
||||
|
||||
//打印
|
||||
import print from 'vue3-print-nb';
|
||||
|
||||
// permission control
|
||||
import './permission';
|
||||
|
||||
@ -38,9 +47,22 @@ VXETable.config({
|
||||
zIndex: 999999
|
||||
});
|
||||
|
||||
//本地保存飞机配置
|
||||
import { setLocal } from './utils';
|
||||
setLocal('dockAir', 'http://192.168.110.24:9136');
|
||||
setLocal('aiUrl', 'http://192.168.110.23:8000');
|
||||
setLocal('host', '192.168.110.199');
|
||||
setLocal('rtmpPort', '1935');
|
||||
setLocal('rtcPort', '1985');
|
||||
setLocal('dockSocketUrl', 'ws://192.168.110.8:9136/websocket');
|
||||
|
||||
// 修改 el-dialog 默认点击遮照为不关闭
|
||||
/*import { ElDialog } from 'element-plus';
|
||||
ElDialog.props.closeOnClickModal.default = false;*/
|
||||
// **main.js**
|
||||
import { vue3ScrollSeamless } from 'vue3-scroll-seamless';
|
||||
import bus from './utils/bus';
|
||||
import $message from '@/plugins/modal';
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
@ -48,10 +70,16 @@ app.use(HighLight);
|
||||
app.use(ElementIcons);
|
||||
app.use(router);
|
||||
app.use(store);
|
||||
app.use(print);
|
||||
app.use(i18n);
|
||||
app.use(VXETable);
|
||||
app.use(plugins);
|
||||
app.use(bus);
|
||||
app.component('vue3ScrollSeamless', vue3ScrollSeamless);
|
||||
// 自定义指令
|
||||
directive(app);
|
||||
|
||||
app.mount('#app');
|
||||
|
||||
app.config.globalProperties.mittBus = mitt();
|
||||
app.config.globalProperties.$message = $message;
|
||||
|
Reference in New Issue
Block a user