|
@@ -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 () => {
|