Sfoglia il codice sorgente

修复无部门用户会一直发消息提示的bug

cfort 2 anni fa
parent
commit
c9bfc66e33
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/views/system/dashboard/components/new-home.vue

+ 3 - 3
src/views/system/dashboard/components/new-home.vue

@@ -710,9 +710,9 @@
                 // console.log('新增过期事务表数据:', addList, '发送消息数据', sendList)
                 if (addList.length) {
                     curdPost('add', JSON.stringify(addParams))
-                }
-                if (sendList.length) {
-                    this.sendMsg(sendList)
+                    if (sendList.length) {
+                        this.sendMsg(sendList)
+                    }
                 }
             },
             // 删除已办的提醒表数据