فهرست منبع

没有可见分类,也允许进入页面

MaiXinRong 2 سال پیش
والد
کامیت
95fc477124
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/service/filing.js

+ 1 - 0
app/service/filing.js

@@ -65,6 +65,7 @@ module.exports = app => {
         async getValidFiling(spid, filingType) {
             const condition = { spid, is_deleted: 0 };
             if (filingType !== 'all') condition.filing_type = filingType;
+            if (!filingType || filingType.length === 0) return [];
             return await this.getAllDataByCondition({ where: condition });
         }