Explorar el Código

修复getlist问题

laiguoran hace 6 años
padre
commit
c77504ab9a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/service/tender.js

+ 1 - 1
app/service/tender.js

@@ -77,7 +77,7 @@ module.exports = app => {
          *
          * @return {Array} - 返回标段数据
          */
-        async getList(listStatus, permission) {
+        async getList(listStatus = '', permission = null) {
             // 获取当前项目信息
             const session = this.ctx.session;
             let sql = '';