大屏布局,dataV导入

This commit is contained in:
龚皓
2024-11-01 13:15:05 +08:00
parent b80c991378
commit 0fe9cf0e3e
4 changed files with 156 additions and 3 deletions

View File

@@ -7,10 +7,12 @@ import zhCn from 'element-plus/es/locale/lang/zh-cn';
// import axiosInstance from '@/utils/axios-config';
import axios from 'axios';
import '@/assets/global.css'
import { useGlobalWebSocket } from './utils/useGlobalWebSocket';
const app = createApp(App)
const globalWebSocket = useGlobalWebSocket();
app.provide('globalWebSocket',globalWebSocket);
// app.provide('axios', axiosInstance);
app.use(ElementPlus, { locale: zhCn });
app.use (router)