定时刷新5分
This commit is contained in:
@@ -13,16 +13,20 @@ import '@kjgl77/datav-vue3/dist/style.css';
|
||||
import mitt from 'mitt';
|
||||
import Antd from 'ant-design-vue';
|
||||
import 'ant-design-vue/dist/reset.css';
|
||||
import { createPinia } from 'pinia';
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
const globalWebSocket = useGlobalWebSocket();
|
||||
const pinia = createPinia();
|
||||
|
||||
app.provide('globalWebSocket', globalWebSocket);
|
||||
// app.provide('axios', axiosInstance);
|
||||
app.use(ElementPlus, { locale: zhCn });
|
||||
app.use(router);
|
||||
app.use(DataVVue3);
|
||||
app.use(Antd);
|
||||
app.use(pinia)
|
||||
|
||||
// 导航守卫,检查登录状态
|
||||
router.beforeEach((to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user