Git Product home page Git Product logo

Comments (7)

2betop avatar 2betop commented on September 28, 2024

你的浏览器应该使用的是flash运行时,初始化是flash在不可见的(display:none)元素里面会出现不加载的情况。

建议修改成这样就解决了, div上去掉display:none, 改成添加element-invisible的class。

.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px,1px,1px,1px);
}

from webuploader.

2betop avatar 2betop commented on September 28, 2024

我看你这个应该是坐在tab里面,也可以在tab第一次显示的时候初始化。

from webuploader.

renzhe avatar renzhe commented on September 28, 2024

在tab第一次初始化是没有问题,关键我的实际运用场景不能在第一次去加载

from webuploader.

2betop avatar 2betop commented on September 28, 2024

我懂,你可以检测tab的显示事件吗?

from webuploader.

renzhe avatar renzhe commented on September 28, 2024

可以

from webuploader.

renzhe avatar renzhe commented on September 28, 2024

我的想法是,切换到这个tab时,让其再初始化上传插件,但是如何再次初始化呢

from webuploader.

2betop avatar 2betop commented on September 28, 2024

我就是这个意思:)

from webuploader.

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.