From 8aba1f8b6256b7a6c1df9a4c144f3ad6de57fc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B7=E4=BA=AE=E8=BE=89?= Date: Tue, 10 Oct 2023 17:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E7=89=88=E6=9C=ACandroid=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E9=A1=B5=E9=9D=A2=E7=99=BD=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/default/client/amis.render.client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/service-plugin-amis/main/default/client/amis.render.client.js b/services/service-plugin-amis/main/default/client/amis.render.client.js index db64bd0885..ffd960309d 100644 --- a/services/service-plugin-amis/main/default/client/amis.render.client.js +++ b/services/service-plugin-amis/main/default/client/amis.render.client.js @@ -228,7 +228,7 @@ // }, // 如果这里不配置env.notify,那么会走amis 默认的env.notify,它会造成随机把toast组件dom插入到不同的scope容器内(应该是插入到最后一个加载的scope),这在苹果手机上可能会造成弹出的通知z-index不生效的情况,出现通知被档住的问题 notify: (type, msg)=>{ - if(msg.props?.schema.tpl){ + if(msg.props && msg.props.schema.tpl){ SteedosUI.message[type](msg.props?.schema.tpl) }else if(typeof msg == 'string'){ SteedosUI.message[type](msg)