We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec620d commit 903ae12Copy full SHA for 903ae12
spring-cloud-gray-webui/src/utils/request.js
@@ -71,7 +71,7 @@ service.interceptors.response.use(
71
res.resHeaders = response.headers
72
const total = response.headers['x-total-count']
73
if (total !== undefined && total !== null) {
74
- const data = { 'total': total, 'items': response.data.data }
+ const data = { 'total': parseInt(total), 'items': response.data.data }
75
res.data = data
76
}
77
return res
0 commit comments