解决:
$.ajax({
url: `${process.env.BASE_API}/offical/rw-recruit/list?pageNum=1&pageSize=2`,
type: "GET",
xhrFields: {
// 详情查看jq官方文档
withCredentials: true
},
success: function (data) {
render(data);
}
});