<script type="text/javascript">
Ext.get("btn1").on(
"click",
function(){
Ext.MessageBox.show({
title:"时间进度条",
msg:"5s 后关闭进度框",
progress:true,
width:300,
wait:true,
waitConfig:{interval:600},//0.6s 进度条自动加载一定长度
closable:true
});
setTimeout(function(){Ext.MessageBox.hide()},5000);
});
</script>
</head>
<body>
<input id="btn1" type="button" value="点我"/>
</body>
包应该是没问题的,请告诉我哪里写错了