有没有考虑用msw来做拦截? #19
liufeisprit
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
可以简单说下方案吗,有更好的方式,非常欢迎参与哈。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
深入看了下 chrome插件应该不能向页面插入web的service-worker 注册service-worker的文件地址要是web主域名下的 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前用的重写原生的xhr还是太暴力了 侵入性挺大的。 mock的数据在浏览器devtools是看不到的,如果用service worker可以完美解决这个问题。如果有这个意愿 我可以参与贡献
Beta Was this translation helpful? Give feedback.
All reactions