二次开发中,我在浏览器的网络请求面板能看到响应头里有 count 参数,但通过 Axios 获取响应头时却找不到这个参数,应该是后端没有配置跨域响应头暴露规则,这个应该怎么解决呢
其他功能
-
http://192.168.1.31:3030/rest/core/t/device_table/d?query={"skip":0,"limit":10,"filter":{"name":{}},%22project%22:{%22name%22:1,%22deviceType%22:1,%22state%22:1,%22code%22:1,%22specification%22:1,%22model%22:1,%22serial%22:1,%22location%22:1,%22supplier%22:1,%22manufacturer%22:1,%22installTime%22:1,%22buyTime%22:1,%22files%22:1,%22remark%22:1,%22relevanceUser%22:1,%22relevanceDept%22:1},%22sort%22:{},%22withCount%22:true}
-
query:
{"skip":0,"limit":10,"filter":{"name":{}},"project":{"name":1,"deviceType":1,"state":1,"code":1,"specification":1,"model":1,"serial":1,"location":1,"supplier":1,"manufacturer":1,"installTime":1,"buyTime":1,"files":1,"remark":1,"relevanceUser":1,"relevanceDept":1},"sort":{},"withCount":true} -
这是console输出的
这是请求体头返回的数据