diff --git a/src/views/popup/board.vue b/src/views/popup/board.vue index 9770b3f..ac7a350 100644 --- a/src/views/popup/board.vue +++ b/src/views/popup/board.vue @@ -251,7 +251,7 @@ fetchData() { hikPic(this.listQuery).then(response => { if (response.code === 200) { - this.wallList = response.data.toString() + this.wallList = JSON.stringify(response.data) this.list = this.handleListOrder(response.data) } }) diff --git a/src/views/popup/board.vue b/src/views/popup/board.vue index 9770b3f..ac7a350 100644 --- a/src/views/popup/board.vue +++ b/src/views/popup/board.vue @@ -251,7 +251,7 @@ fetchData() { hikPic(this.listQuery).then(response => { if (response.code === 200) { - this.wallList = response.data.toString() + this.wallList = JSON.stringify(response.data) this.list = this.handleListOrder(response.data) } }) diff --git a/src/views/popup/components/personTable.vue b/src/views/popup/components/personTable.vue index 4a8919a..f15a502 100644 --- a/src/views/popup/components/personTable.vue +++ b/src/views/popup/components/personTable.vue @@ -77,7 +77,7 @@ } hikPic(params).then(response => { if (response.code === 200) { - this.wallList = response.data.toString() + this.wallList = JSON.stringify(response.data) if (response.data.length === 0) { this.$message.warning('该人员近一个月无记录!') return