baidu/amis

6.0.x 版本 dialog无法在最外层直接渲染

Closed this issue · 2 comments

实现场景:

需要在页面初始化就弹出一个dialog

存在的问题:

6.0.x 版本 dialog无法直接渲染 3.6.0版本可以渲染

image

image

当前方案:

{
"type": "dialog",
"body": [
],
"size": "md",
"title": "请确认",
"actions": [
{
"type": "button",
"actionType": "cancel",
"label": "取消",
},
{
"type": "button",
"actionType": "confirm",
"label": "确定",
"primary": true,
}
]
}

需要属性受控 show: true 属性

需要属性受控 show: true 属性
明白了 谢谢