无人机系统
This commit is contained in:
11
src/main.ts
11
src/main.ts
@ -46,11 +46,21 @@ 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';
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
@ -62,6 +72,7 @@ app.use(print);
|
||||
app.use(i18n);
|
||||
app.use(VXETable);
|
||||
app.use(plugins);
|
||||
app.use(bus);
|
||||
app.component('vue3ScrollSeamless', vue3ScrollSeamless);
|
||||
// 自定义指令
|
||||
directive(app);
|
||||
|
Reference in New Issue
Block a user