流水席
流水席
  • 发布:2015-11-24 04:33
  • 更新:2019-01-16 13:55
  • 阅读:4476

TypeError: undefined is not an object (evaluating 'h.extras')

分类:HBuilder

运行官方的demo(hello mui 或 hello 5+)的时候出现这个错,自己写的也出现这个错误,导致根本没办法使用模拟器。
index.html里面就这个初始化加载子页面的代码(已经引入mui.min.js 和 mui.css)

mui.init({
subpages: [{
id: 'list',
url: 'articles.html',
styles: {
top: '45px',
bottom: 0,
bounce: 'vertical'
}
}]
});

articles.html代码

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<div style="height:300px; width: 100% ; background-color: #f00;">DDD</div>
</body>
</html>

<script type="text/javascript" src="js/mui.min.js" ></script>
<script>
mui.plusReady(function(){
alert('AA');
});
</script>

2015-11-24 04:33 负责人:无 分享
已邀请:
dddsam

dddsam

我在IOS真机调试时,也遇到类似问题,靠,到现在还没有人回复

LionYoung

LionYoung

我也遇到这个问题了,怎么解决啊

g***@qq.com

g***@qq.com

我也有此类问题

该问题目前已经被锁定, 无法添加新回复