app开发 app中 跳转到一个web界面 需要web界面保持登陆状态 需要把app token插入到网页中的localstorage中 让网页保持登陆状态 该怎么做呢?

1***@qq.com
- 发布:2023-09-05 10:58
- 更新:2023-09-05 13:51
- 阅读:251



爱豆豆 - 办法总比困难多
直接带token到链接上 web端打开页面时 检测当前链接是否带有token 有的话就把链接上的token存储到你web端的localstorage中
这种方式 http://xxxx.com?token=xxxxxxxxxxxx
1***@qq.com (作者)
谢谢 这个方法可行
2023-09-05 15:55