steedos-platform icon indicating copy to clipboard operation
steedos-platform copied to clipboard

[Feature]: 按钮添加显隐字段. 按钮上配置的覆盖amis button中的属性.

Open hotlong opened this issue 1 year ago • 3 comments

Summary 摘要

比如导出按钮,目前虽然启用的,但是不显示。需要配置页面布局才能用。

Why should this be worked on? 此需求的应用场景?

业务

hotlong avatar Nov 21 '23 07:11 hotlong

导出按钮没显示可以通过配置对象权限来处理. image

baozhoutao avatar Nov 25 '23 09:11 baozhoutao

按钮添加显隐字段. 按钮上配置的覆盖amis button中的属性.

baozhoutao avatar Nov 27 '23 02:11 baozhoutao

  • [x] visible
  • [x] visibleOn

baozhoutao avatar Dec 11 '23 01:12 baozhoutao

考虑默认按钮如何自定义?

  • 将默认按钮注册成amis事件动作
  • 默认按钮添加自定义

baozhoutao avatar Mar 18 '24 03:03 baozhoutao

方案:

  • 去掉按钮上的visibleOn
  • 修正默认按钮的visible属性

baozhoutao avatar Mar 18 '24 06:03 baozhoutao