在Products视图操作中,您可以查看用户是否有更新或删除产品的权限,并设置用于显示或隐藏视图中按钮的变量。
In the Products view action, you could check to see if the user has permission to update or delete the product and set variables that can be used to display or hide the buttons in the view.
一个布尔值用来表示后退按钮是否隐藏。
Boolean value that determines whether the back button is hidden.
现在,再次点击配置按钮,然后隐藏脚本编辑器,切换一下状态,然后看看按钮的移动是否正常。
Now hit the config button again and hide the scripts editor. Switch stances and watch the buttons move.
应用推荐