首页 新闻 会员 周边

Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.

0
悬赏园豆:10 [已关闭问题] 关闭于 2017-04-21 11:21

我使用一个基于bootstrap二次开发的前端框架,子页面都是通过ajax获取的。 其中一个子页面用了Highcharts

http://localhost/index.html#ajax/f.html

问题是第一次打开的时候报错,

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org

Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.

再刷新就没问题。 

怎么解决第一次加载报错的问题?

寻寻寻觅觅冷冷清清的主页 寻寻寻觅觅冷冷清清 | 初学一级 | 园豆:128
提问于:2015-11-18 10:17
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册