浏览代码

修复变更期打开bug

ellisran 1 年之前
父节点
当前提交
6bda2e16ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/change_settle_list.js

+ 1 - 1
app/service/change_settle_list.js

@@ -22,7 +22,7 @@ module.exports = app => {
 
         async isSettle(cid) {
             const result = await this.getDataByCondition({ cid });
-            return result.length > 0;
+            return result && result.length > 0;
         }
 
         async updateChangeList(cid, settleBills, settlePos, list) {