跳至内容
菜单
此问题已终结
6294 查看

How can I hide the edit button and display only the create button if the state = 'cancel'


I tried using <form edit  ='false'> and it works then......


I tried <form attrs="{'edit':[('state','in',('done','draft'))]}"> but don't have any effects, it will suppose to visible the edit when the state is done or draft

形象
丢弃
相关帖文 回复 查看 活动
2
3月 24
17069
1
11月 22
3340
4
5月 15
3943
1
3月 15
6774
2
4月 25
6797