-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
默认初始化,但是加载面板的数量有问题 #12
Comments
根据描述无法明确原因,可以确定下发生的条件吗? |
工具自己写到 localStorage 中的信息, 会对下一次加载有影响吗 |
会的,设置会保存到localStorage里面,下一次初始化会读取。是webview不支持localStorage吗? |
我猜可能是这个原因,因为看到localStorage 会设置值,具体是哪个key 会影响到面板的数量? |
每个面板的设置都会有自己的key,eruda-console,eruda-network等,看起来是那些有配置项的面板都挂了。 |
@tenbamboo 确认下是不是因为webview不支持localStorage导致的?目前并没有对不支持localStorage的情况进行兼容。 |
在微信公众号里看,应该是支持的,我自己的数据都在localStorage跑 |
Try catch有alert出来什么错误信息吗? |
null is not an object(evaluating'e.length') |
用下未压缩的版本,看能不能知道e是什么? |
好用了,方法是我直接在工具加载成功的页面中,打开console ,然后直接输入localStorage.clear(); |
现在不能还原事故现场了。。。不好意思。。。 |
前提:
我是通过jquery.getScript()引入的工具。
问题:
多个页面,加载工具的代码一致,但是有时候加载的面板数量不一致。
有时 全都加载进来了
有时只有 Source,Info,Snippets,Features,Settings
The text was updated successfully, but these errors were encountered: