树恒

树恒

TA还没有自我介绍

主页访问量 : 559 次访问

威望 : 0 积分 : 8925 赞同 : 0 感谢 : 0

回复

更多 »
0

刚好也遇到这个问题, 我暂时的处理方法是: let refreshToking = false, 当第一个请求返回需要刷新token的标识时,定义 refreshToking = true, 然后另外所有的请求方法判断refreshToking = true ...

0

延迟下执行就好了 ```javascript onShow() { this.$nextTick(function() { this.downCallback() }); } ```});

0

服务端配置, nginx.conf(或者宝塔--网站--设置-配置文件) location / { try_files $uri $uri/ /index.html$args; } 或者你百度 vue history模式刷新404

发问

更多 »
2

1345 次浏览  • 3 个关注   • 2020-11-18 23:27

发问

2 回复 • 1345 次浏览 • 3 个关注 • 2020-11-18 23:27

回复

0

刚好也遇到这个问题, 我暂时的处理方法是: let refreshToking = false, 当第一个请求返回需要刷新token的标识时,定义 refreshToking = true, 然后另外所有的请求方法判断refreshToking = true ...

2023-01-21 13:05

0

延迟下执行就好了 ```javascript onShow() { this.$nextTick(function() { this.downCallback() }); } ```});

2022-08-08 23:43

0

服务端配置, nginx.conf(或者宝塔--网站--设置-配置文件) location / { try_files $uri $uri/ /index.html$args; } 或者你百度 vue history模式刷新404

2021-11-16 00:44

详细资料

个人成就:

威望: 0 积分: 8925 赞同: 0 感谢: 0

最后活跃:
2023-02-13 01:55
  • 关注 1
  • 0 人关注
  • 关注 0 话题