Skip to content

Commit

Permalink
feat(压测报告): 压测报告查询格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed Jun 13, 2022
1 parent 06608f7 commit 50cb7ff
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/views/CloudPressure/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
</TabPane>
</Tabs>
</Drawer>
<Drawer
v-model="report"
:mask-closable="false"
:styles="styles"
width="80%"
>
<Drawer v-model="report" :styles="styles" width="80%">
<el-table
:border="border"
:data="details.basedata.docxInfo"
Expand Down Expand Up @@ -587,7 +582,7 @@
},
async showDocxInfo(info) {
const res = await getDevice(info.objectId)
const _docxInfo = res.basedata.docxInfo
const _docxInfo = res?.basedata?.docxInfo ? res.basedata.docxInfo : []
_docxInfo.forEach((i) => {
i.timestamp = this.$moment
.unix(i.timestamp)
Expand Down

0 comments on commit 50cb7ff

Please sign in to comment.