iphone7 ios11.4.1 点击没有弹出。
document.getElementById("confirmBtn").addEventListener('tap', function() {
var btnArray = ['否', '是'];
mui.confirm('MUI是个好框架,确认?', 'Hello MUI', btnArray, function(e) {
if (e.index == 1) {
info.innerText = '你刚确认MUI是个好框架';
} else {
info.innerText = 'MUI没有得到你的认可,继续加油'
}
})
});
![h***@163.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/c3486c794b857631ca0a637e8feda231.png)
h***@163.com
- 发布:2018-10-16 09:34
- 更新:2018-10-16 10:36
- 阅读:1092
1 个回复
DCloud_UNI_GSQ
试试官方的hello-mui示例