为此,我使用了以下代码来渲染按钮。
api.registerValueTransformer("post-menu-buttons", ({ value: dag, context })
现在我卡住了,在使用其他组件时无法在没有错误的情况下打开模态框。