亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - Google Chrome blocks the effect of loading layer
漂亮男人
漂亮男人 2017-05-19 10:26:02
0
1
776

The situation is as follows:
The front end initiates a request to the back end. This request takes a long time and is likely to fail. At this time, the front end adds a loading layer
Firefox browser: This loading The layer can run normally until the background returns, and then the front-end reports an error
Google Chrome: This loading layer can run normally at first, but immediately enters a pause state and is stuck until the background returns the results, and then reports an error

Excuse me:
1. What is the cause of this?
2. How to solve this situation?

$.delayLoad(function(dlIndex) {

    請(qǐng)求操作...

    // 關(guān)閉等待層
    layer.close(dlIndex);

});


附:($.delayLoad方法源碼)

漂亮男人
漂亮男人

reply all(1)
Peter_Zhu

How did you write the loading effect?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template