@@ -34,7 +34,7 @@ let isOnWarning = false
const tokenInvalid = () => {
if (!isOnWarning) {
// debugger
- const { t } = useI18n()
+ const { t } = useI18n();
setTimeout(() => {
Modal.info({
title: () => t('base.tips'),
@@ -1,7 +1,9 @@
import { createApp } from 'vue'
import 'normalize.css'
import '@/assets/iconfont/iconfont.css'
+//ant 全局要用优化在此引进
import 'ant-design-vue/lib/message/style/index.less'
+import 'ant-design-vue/lib/modal/style/index.less'
import './style.css'
import AppCom from './App.vue'
import router from './router'
@@ -1,7 +1,7 @@
<template>
<div ref="headerRef" class="header">
<div style="display: flex; flex-direction: row" class="header-title-tab">
- <a-button type="text" @click="roomStore.setRoomStatus(1)">
+ <a-button type="text" @click="roomStore.setRoomStatus(0);roomType = 0;">
<h3>{{ t('room.myRoom') }}({{ roomStore.list.length }})</h3>
</a-button>
@@ -211,6 +211,10 @@ const initTab = async () => {
if (unref(userMsgCountList)?.length || unref(userMsgManList)?.length) {
initRoomMsgChart()
}
+ setTimeout(()=>{
+ handleResize();
+ console.log('render');
+ },1000)
// const initOnlineChart = () => {
// const chart1 = document.getElementById('chart-1')