Skip to content

弹窗可以指定挂载的dom元素吗?就和date-input的popOverContainerSelector一样 #21281

@haiahaia

Description

@haiahaia

{
type: "button",
icon: "fa fa-trash",
level: "link",
className: "p-0 delete-btn",
style: {
color: "#ff4d4f",
padding: "4px",
fontSize: "14px",
},
tooltip: "删除",
onEvent: {
click: {
actions: [
{
actionType: "confirmDialog",
dialog: {
title: "系统提示",
msg: '您确定要删除此模版吗?',
},
},
{
actionType: "custom",
script: window.AmisTableUtils['${this.instanceKey}'].deleteMModel('${item.id}'),
},
],
},
},
},
怎么让这个弹窗挂在指定的元素下

Metadata

Metadata

Assignees

No one assigned

    Labels

    need confirmspamAuto-marked as spamstyleBug or PR related to component's style

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions