diff --git a/api/app/lib/controllers/alarm/data.js b/api/app/lib/controllers/alarm/data.js index e390a1a..1ff54ec 100644 --- a/api/app/lib/controllers/alarm/data.js +++ b/api/app/lib/controllers/alarm/data.js @@ -118,12 +118,15 @@ async function list (ctx) { alarmRes.forEach(ar => { ar.pepProject = (anxinStruc.find(as => as.strucId == ar.StructureId) || { - // TODO: 开发临时添加 - pepProject: [{ - id: 999, - name: '这是假的开发の数据,看到请拨打110', - isdelete: 0, - }] + + pepProject: [ + // TODO: 开发临时添加 + { + id: 999, + name: '这是假的开发の数据,看到请拨打110', + isdelete: 0, + } + ] }).pepProject let corConfirmedData = (confirmedAlarmDetailMax.find(cdm => cdm.AlarmId == ar.AlarmId) || {}); diff --git a/web/package.json b/web/package.json index b85cebe..0ab223a 100644 --- a/web/package.json +++ b/web/package.json @@ -47,7 +47,7 @@ "vite": "^2.9.5" }, "dependencies": { - "@douyinfe/semi-ui": "^2.20.0", + "@douyinfe/semi-ui": "2.8.0", "@douyinfe/semi-webpack-plugin": "^2.13.0", "@micro-zoe/micro-app": "^1.0.0-alpha.1", "@peace/utils": "^0.0.64",