大屏布局,dataV导入
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user