dcloudio / dcloudio/mui

mui.prompt mui.alert等用到popupElement时函数在回调内多次调用报错

Open
#248 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.5k
Forks
6.5k
PR merge metrics
No merged PRs in 30d

Description

浏览器 Chrome 53.0.2785.116
使用
`mui.alert("1", "1", "1", function() {
mui.alert("2", "2", "2", function() {
mui.alert("3", "3", "3", function() {
console.log(1)
})
})
})`
`mui.prompt("1", "1", "1", ["取消", "确认"], function(e) {
mui.prompt("2", "2", "2", ["取消", "确认"], function(e) {
mui.prompt("3", "3", "3", ["取消", "确认"], function(e) {
console.log(e)
})
})
})
`
等情况报错

> mui.js:7156 Uncaught TypeError: Cannot read property 'style' of null

popupElement部分有问题,请官方修正

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.