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

info面板中的Location块显示的信息并没有及时更新 #51

Closed
fa-ge opened this issue Jan 30, 2018 · 4 comments
Closed

info面板中的Location块显示的信息并没有及时更新 #51

fa-ge opened this issue Jan 30, 2018 · 4 comments

Comments

@fa-ge
Copy link
Contributor

fa-ge commented Jan 30, 2018

当我无刷新改变地址栏的地址的时候,info面板中的Location块显示的信息并没有及时更新。比如location.hash = ''的方式

@surunzi
Copy link
Member

surunzi commented Jan 30, 2018

嗯,目前是不会更新的,下个版本改进下。

@surunzi
Copy link
Member

surunzi commented Feb 7, 2018

v1.4.3已发布,面板重新切换时会自动获取新的地址。如果想要实时改变,可以在改变地址时自行调用api进行更新。

eruda.get('info').add('Location', location.href);

@fa-ge
Copy link
Contributor Author

fa-ge commented Feb 7, 2018

非常感谢!为什么不像resource面板那样搞个刷新按钮?

@surunzi
Copy link
Member

surunzi commented Feb 7, 2018

Info面板的定位就是展示通用信息的,不做任何复杂操作,里面的地址跟UA显示等也只是几个简单的内置消息。

你可以调用API自行往里面实时更新任何信息。

@fa-ge fa-ge closed this as completed Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants