DataStatistics数据显示页面---test.vue中测试全局弹窗提示

This commit is contained in:
龚皓
2024-11-14 16:07:42 +08:00
parent a2234922c8
commit fd75d299ec
24 changed files with 3637 additions and 1582 deletions

View File

@@ -10,6 +10,7 @@ import '@/assets/global.css'
import { useGlobalWebSocket } from './utils/useGlobalWebSocket';
import DataVVue3 from '@kjgl77/datav-vue3';
import '@kjgl77/datav-vue3/dist/style.css';
import mitt from 'mitt';
const app = createApp(App)
@@ -74,4 +75,7 @@ onBeforeUnmount(() => {
window.removeEventListener('resize', updateDimensions);
});
const eventBus = mitt();
app.config.globalProperties.$eventBus = eventBus;
app.mount('#app')