告警大屏css初稿,大屏小图echart测试页

This commit is contained in:
龚皓
2024-11-01 13:19:38 +08:00
parent e16bda93b1
commit f456cdaa8c
12 changed files with 1061 additions and 155 deletions

View File

@@ -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) => {