|
|
@@ -231,7 +231,7 @@ const selectUser2 = (uid) => {
|
|
|
|
|
|
// 拉取用户信息并处理
|
|
|
const requestUser = () => {
|
|
|
- axios.get(`https://pbl.cocorobo.cn/api/pbl/selectUser?userid=${uid}`)
|
|
|
+ axios.get(`https://pbl.cocorobo.cn/api/pbl/selectUser?userid=${uid}`, { withCredentials: true })
|
|
|
.then(res => {
|
|
|
console.log(res);
|
|
|
if (res && res.data && res.data.length && res.data[0].length && res.data[0][0].userid) {
|