Skip to content

Commit

Permalink
老版本android进入页面白屏
Browse files Browse the repository at this point in the history
  • Loading branch information
yinlianghui committed Oct 11, 2023
1 parent fc6cc55 commit a49fccb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@
// },
// 如果这里不配置env.notify,那么会走amis 默认的env.notify,它会造成随机把toast组件dom插入到不同的scope容器内(应该是插入到最后一个加载的scope),这在苹果手机上可能会造成弹出的通知z-index不生效的情况,出现通知被档住的问题
notify: (type, msg)=>{
if(msg.props && msg.props.schema.tpl){
SteedosUI.message[type](msg.props?.schema.tpl)
var tpl = msg.props && msg.props.schema.tpl;
if(tpl){
SteedosUI.message[type](tpl)
}else if(typeof msg == 'string'){
SteedosUI.message[type](msg)
}else{
Expand Down

0 comments on commit a49fccb

Please sign in to comment.