Giter Club home page Giter Club logo

Comments (12)

surunzi avatar surunzi commented on May 18, 2024

根据描述无法明确原因,可以确定下发生的条件吗?
比如:是否跟getScript有关?是否跟不同页面有关?是否跟浏览器有关?
try {eruda.init();} catch (e) {alert(e.message)}; 看下加载面板少时是否有报错。

from eruda.

tenbamboo avatar tenbamboo commented on May 18, 2024

工具自己写到 localStorage 中的信息, 会对下一次加载有影响吗

from eruda.

surunzi avatar surunzi commented on May 18, 2024

会的,设置会保存到localStorage里面,下一次初始化会读取。是webview不支持localStorage吗?

from eruda.

tenbamboo avatar tenbamboo commented on May 18, 2024

我猜可能是这个原因,因为看到localStorage 会设置值,具体是哪个key 会影响到面板的数量?

from eruda.

surunzi avatar surunzi commented on May 18, 2024

每个面板的设置都会有自己的key,eruda-console,eruda-network等,看起来是那些有配置项的面板都挂了。

from eruda.

surunzi avatar surunzi commented on May 18, 2024

@tenbamboo 确认下是不是因为webview不支持localStorage导致的?目前并没有对不支持localStorage的情况进行兼容。

from eruda.

tenbamboo avatar tenbamboo commented on May 18, 2024

在微信公众号里看,应该是支持的,我自己的数据都在localStorage跑

from eruda.

surunzi avatar surunzi commented on May 18, 2024

Try catch有alert出来什么错误信息吗?

from eruda.

tenbamboo avatar tenbamboo commented on May 18, 2024

null is not an object(evaluating'e.length')

from eruda.

surunzi avatar surunzi commented on May 18, 2024

用下未压缩的版本,看能不能知道e是什么?

from eruda.

tenbamboo avatar tenbamboo commented on May 18, 2024

好用了,方法是我直接在工具加载成功的页面中,打开console ,然后直接输入localStorage.clear();
然后再打开问题页面就没问题了,所有工具都加载上来了,但是这可能是缓兵之计吧,具体再看

from eruda.

tenbamboo avatar tenbamboo commented on May 18, 2024

现在不能还原事故现场了。。。不好意思。。。

from eruda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.