Browse Source

fix 5810 普通成员登录后查看应用异常数据范围未做限制

dev
巴林闲侠 3 years ago
parent
commit
960e8f5185
  1. 4
      api/app/lib/controllers/alarm/app.js

4
api/app/lib/controllers/alarm/app.js

@ -261,6 +261,10 @@ async function apiErrorList (ctx) {
'$app.name$': { $like: `%${keyword}%` } '$app.name$': { $like: `%${keyword}%` }
} }
) )
} else {
findOption.where['$app->projectCorrelations.id$'] = {
$in: pomsProjectIds
}
} }
if (errType) { if (errType) {

Loading…
Cancel
Save