amis icon indicating copy to clipboard operation
amis copied to clipboard

button组件的disabled属性不支持传表达式

Open ronghaoZHI opened this issue 4 years ago • 2 comments

描述问题:

disabled 传入 表达式时,无论isAdmin 是true 还是 false, 按钮都是禁用状态。

截图或视频:

image

image

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的? sdk、npm 或其他...

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

  3. 粘贴有问题的完整 amis schema 代码:

code here...
  1. 操作步骤 请简单描述一下复现的操作步骤...

ronghaoZHI avatar Dec 28 '21 07:12 ronghaoZHI

用disabledOn

RickCole21 avatar Dec 29 '21 11:12 RickCole21

用disabledOn

去问下点击按钮刷新当前页面的用什么方法?

Cherry-Ran avatar Jan 11 '22 03:01 Cherry-Ran