首页 tab 的 消息数量

This commit is contained in:
A1300399510
2023-07-26 18:26:51 +08:00
parent 9303c12ab5
commit 0f3c5fd311
2 changed files with 10 additions and 3 deletions

View File

@@ -109,6 +109,10 @@
import emptyDuck from '@/components/public/empty-duck.vue'
import { onMounted, getCurrentInstance, ref, onUnmounted, defineEmits } from 'vue'
import { useRouter } from 'vue-router';
import store from '../../store/index';
if (store.state.user) store.state.user['messagenum'] = 0
const emit = defineEmits(['close'])
const router = useRouter();