diff --git a/ruoyi-ui/src/components/BoardTopNav/index.vue b/ruoyi-ui/src/components/BoardTopNav/index.vue index fbddbf9..bf27cc8 100644 --- a/ruoyi-ui/src/components/BoardTopNav/index.vue +++ b/ruoyi-ui/src/components/BoardTopNav/index.vue @@ -187,7 +187,8 @@ export default { }, async toEquipmentRecord() { this.dialogTableVisible = true - const data = await getRedisFile(this.$store.getters.tenantId) + const data = await getRedisFile(this.$store.getters.tenantId) || {} + console.log(data) this.tableData = JSON.parse(data.content) this.tableTh = Object.keys(data.Header).map(e => data.Header[e]) }, diff --git a/ruoyi-ui/src/components/Pagination/index.vue b/ruoyi-ui/src/components/Pagination/index.vue index 56f5a6b..9ec3e48 100644 --- a/ruoyi-ui/src/components/Pagination/index.vue +++ b/ruoyi-ui/src/components/Pagination/index.vue @@ -16,7 +16,7 @@