Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]当我打开控制台之后,ajax interceptor 修改数据无效 #97

Open
wuhongxing opened this issue Jun 16, 2023 · 1 comment

Comments

@wuhongxing
Copy link

interceptor 版本 1.3.1
chrome 版本 116.0.5817.0(正式版本)dev (arm64)

我测试的地址 https://www.jianshu.com/p/9278207cdc62
url填写的内容:https://www.jianshu.com/shakespeare/v2/notes/9278207cdc62/views_count
replace With: {"views_count":26200000}

在关闭控制台时,可正常显示 mock 数据,打开控制台,mock 无效

image image
@YGYOOO
Copy link
Owner

YGYOOO commented Jun 20, 2023

image 我试了下是可以的,麻烦试试别的网站?不过我的版本是版本 114.0.5735.133(刚刚升级完),为啥你都116了。也有可能是你的其它某个chrome插件会在控制台运行,并且跟ajax-interceptor冲突了,可以关掉其它插件试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants