From 8ca7a7f43e031b393541e24b59a912b132e7924b Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 24 Sep 2022 17:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E5=AE=9A=20@douyinfe/semi-ui=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=202.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/alarm/data.js | 15 +++++++++------ web/package.json | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) 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",