ccraohng
V2EX  ›  问与答

求助,关于微信浏览器内 hash 单应用登陆,重定向页面卡住问题

  •  
  •   ccraohng · Sep 30, 2018 · 2278 views
    This topic created in 2861 days ago, the information mentioned may be changed or developed.

    如题,进入登录页面 /#/login

    location.href = 后端登陆地址 登陆成功后端重定向 到 /#/login?token=** 问题就是出现在第二部,此时 token 判断拿到,应该做些数据请求,但是在安卓上页面卡住了,刷新一次就好了。iphone 上没出现这个问题,哪位大神有知道怎么回事吗?

    1 replies    2018-09-30 19:28:35 +08:00
    ccraohng
        1
    ccraohng  
    OP
       Sep 30, 2018
    因为重定向路径都没边 , 只是改变的 hash , 加了一个时间戳就好了 >>
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1172 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:00 · PVG 02:00 · LAX 11:00 · JFK 14:00
    ♥ Do have faith in what you're doing.