vant button disabled
时间: 2023-11-16 20:04:05 浏览: 163
vant-demo-master.zip
Vant is a UI component library for Vue.js. If you want to disable a button component from Vant, you can simply add the `disabled` attribute to the button element. Here's an example:
```html
<van-button disabled>Disabled Button</van-button>
```
By adding the `disabled` attribute, the button will be visually disabled and won't be clickable.
阅读全文