嵌套在微信公众号里面的页面,使用一段时间之后出现某些接口不能正常运行的情况,但是清除缓存可以正常运行,为什么呢?
部分代码如下:
this.$axios.post('url')
.then(res => { ... });
.catch(error => { ... }); // 直接执行了这里面的代码,清除缓存正常运行then里面的代码
嵌套在微信公众号里面的页面,使用一段时间之后出现某些接口不能正常运行的情况,但是清除缓存可以正常运行,为什么呢?
部分代码如下:
this.$axios.post('url')
.then(res => { ... });
.catch(error => { ... }); // 直接执行了这里面的代码,清除缓存正常运行then里面的代码
13 回答13k 阅读
7 回答2.1k 阅读
3 回答1.3k 阅读✓ 已解决
6 回答1.2k 阅读✓ 已解决
2 回答1.4k 阅读✓ 已解决
3 回答1.3k 阅读✓ 已解决
6 回答1.1k 阅读
你要问服务器兄dei了