Closed lianshuoshuo closed 3 years ago
怎么自定义错误code码 比如 token失效 自动跳到登录界面
你可以写一个网络拦截器,拦截response根据业务判断token失效就跳转到登录页
怎么自定义错误code码 比如 token失效 自动跳到登录界面