naive-ui/demo/documentation/components/inputNumber/zhCN/disabled.md

16 lines
147 B
Markdown
Raw Normal View History

2020-02-04 17:23:11 +08:00
# 禁用
```html
<n-input-number
disabled
v-model="value"
/>
```
```js
export default {
data () {
return {
value: 0
}
}
}
```