-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
重现
- IE10+或者Edge浏览器
- 使用路由模式(hash), Skeleton DOM设置为display:none
问题
打包嵌入到html的script会根据route控制Skeleton DOM的显示,但貌似对IE无效,如下代码:
if (skeletonId === skeleton.id) {
skeleton.el.style = 'display:block;';
}
else {
skeleton.el.style = 'display:none;';
}
经过测试,IE对有 skeleton.el.style.display='block'或 skeleton.el.style.display='none'生效
Metadata
Metadata
Assignees
Labels
No labels