@@ -213,6 +213,7 @@ const wangzhi = import.meta.env.VITE_APP_BASE_API;
const isAlive = ref(true);
const toFileData = ref();
const uid = useUserStore().uid;
+let hasNewMessage=ref(false)
const iFrameData = ref([
{
id: 1,
@@ -4,7 +4,7 @@ import { ElMessage } from "element-plus";
import {
msgSend
} from "@/api/chat/msg";
-const heartTimer = null
+let heartTimer = null
const useWebsoctStore = defineStore('websoct', {
state: () => ({
messages: [],