We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义了actionsRender, role 为 tip-message 不需要显示actions,其他的还是使用默认的,但是这样写了之后,在answer的后面点击重新生成时,answer变成了question重新请求了。
actionsRender: (item: any, dom: any) => { console.log("actionsRender: ", item) if (item?.originData?.role === "tip-message") { return <div></div> } let updateDom = React.cloneElement(dom, { actions:item.actions }) return updateDom },
The text was updated successfully, but these errors were encountered:
是我的问题,没有设置parentId
Sorry, something went wrong.
No branches or pull requests
🧐 问题描述
自定义了actionsRender, role 为 tip-message 不需要显示actions,其他的还是使用默认的,但是这样写了之后,在answer的后面点击重新生成时,answer变成了question重新请求了。
💻 示例代码
🚑 其他信息
The text was updated successfully, but these errors were encountered: