فهرست منبع

平台工作台功能提交

ellisran 4 ماه پیش
والد
کامیت
4e6dc22a3e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/controller/dashboard_controller.js

+ 1 - 1
app/controller/dashboard_controller.js

@@ -112,7 +112,7 @@ module.exports = app => {
             // 获取版本信息
             const versionList = await ctx.service.version.getAllDataByCondition({ orders: [['id', 'desc']], limit: 5, offset: 0 });
             // 获取项目通知
-            const msgList = await ctx.service.message.getMsgList(ctx.session.sessionProject.id);
+            const msgList = await ctx.service.message.getMsgList(ctx.session.sessionProject.id, '', 10);
             // 获取系统通知
             const sysMsgList = await ctx.service.message.getMsgList(ctx.session.sessionProject.id, '', 1, 0, 2);
             // 获取系统维护信息