添加 disabled 属性即可让按钮处于不可用状态,同时按钮样式也会改变。
disabled
To mark a button as disabled, add the disabled property to the Button.
Button