Replies: 1 comment
-
列表中每一项你不会封装成一个组件?在组件里面引用Popconfirm组件不就好了? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
<Popconfirm key={"delete"} title="确定删除吗?" okText="确定" cancelText="取消" > <a href="#">删除</a> </Popconfirm>
我看了文档中的例子,它需要一个变量去保存状态,另一个保存是否显示!
但是列表时可能有很多个Popconfirm 总不能每个Popconfirm都写两个变量吧?
求解。。谢谢
Beta Was this translation helpful? Give feedback.
All reactions