开发者

failing to render in extjs

开发者 https://www.devze.com 2023-01-14 10:27 出处:网络
Sometimes when I open a page, it has blank only, but when I refresh the page or the browser, the page can be rendered.

Sometimes when I open a page, it has blank only, but when I refresh the page or the browser, the page can be rendered.

I want to know why it happene开发者_运维技巧d and how the problem happened so much!


Some code from your HTML could be helpful but this is what I'm thinking:

It may have something to do with the order in which you are including your JS files. Be sure to load ext-base.js then ext-all.js before your own javascripts. You will then need to load any other resources required for your layout to render.

I'm thinking that on the first (blank) load, it fails to load the screen because of the resources are not coming in at the right time. When you reload the page, the scripts load because they have already been cached by the browser.

0

精彩评论

暂无评论...
验证码 换一张
取 消