naive-ui/demo/documentation/components/dynamicInput/zhCN/basic.md

21 lines
245 B
Markdown
Raw Normal View History

# 使用输入预设
```html
<n-dynamic-input
v-model="value"
placeholder="优化内容"
/>
2020-03-09 12:12:31 +08:00
<pre>
{{ JSON.stringify(value, 0, 2) }}
2020-03-09 12:12:31 +08:00
</pre>
```
```js
export default {
data () {
return {
value: [
2020-03-11 16:24:35 +08:00
''
]
}
}
}
```