소스 검색

消息提醒

ZaiZai 1 년 전
부모
커밋
088fcd21ed
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public/version.json
  2. 1 0
      src/layout/index.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240701105940"
+  "value": "20240701112336"
 }

+ 1 - 0
src/layout/index.vue

@@ -136,6 +136,7 @@ const msgCount = ref({
 //项目合同段的ID
 let times
 const cascaderSend = async ({ projectId, contractId }) => {
+    if (isNullES(contractId)) clearInterval(times)
     await getUnreadMessage({ projectId, contractId })
     if (!isNullES(times)) clearInterval(times)
     times = setInterval(async () => {