告警大屏css初稿,大屏小图echart测试页
This commit is contained in:
@@ -8,6 +8,8 @@ import zhCn from 'element-plus/es/locale/lang/zh-cn';
|
||||
import axios from 'axios';
|
||||
import '@/assets/global.css'
|
||||
import { useGlobalWebSocket } from './utils/useGlobalWebSocket';
|
||||
import DataVVue3 from '@kjgl77/datav-vue3';
|
||||
import '@kjgl77/datav-vue3/dist/style.css';
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
@@ -15,7 +17,8 @@ const globalWebSocket = useGlobalWebSocket();
|
||||
app.provide('globalWebSocket',globalWebSocket);
|
||||
// app.provide('axios', axiosInstance);
|
||||
app.use(ElementPlus, { locale: zhCn });
|
||||
app.use (router)
|
||||
app.use (router);
|
||||
app.use(DataVVue3);
|
||||
|
||||
// 导航守卫,检查登录状态
|
||||
router.beforeEach((to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user