uni-app 发送request请求,返回出来的Set-cookie怎么取里面的想要的值。。
user_name,:
user_nick_name:
group_name::
user_portrait :
这些,请大佬们帮忙写个例子。小白一个,一直没研究明白
下面是我获取到的cookie。想从这里里面取
user_name,:
user_nick_name:
group_name::
user_portrait :
[user_id=1; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/, user_name=15690066010; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/, user_nick_name=%E8%90%9D%E5%8D%9CA2PLL; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/, group_id=2; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/, group_name=%E9%BB%98%E8%AE%A4%E4%BC%9A%E5%91%98; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/, user_check=42b591eca2f45639a8b5e042ac6d3e31; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/, user_portrait=%2Fstatic%2Fimages%2Ftouxiang.png; expires=Sat, 17-Jul-2021 15:11:41 GMT; Max-Age=2592000; path=/]