浏览代码

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

cfort 2 年之前
父节点
当前提交
c9bfc66e33
共有 1 个文件被更改,包括 3 次插入3 次删除
  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)
+                    }
                 }
             },
             // 删除已办的提醒表数据