mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
345 B
345 B
Use Preset Input
By default, the preset of n-dynamic-input
is input
.
<n-dynamic-input
v-model="value"
placeholder="Please input"
:min="3"
:max="6"
/>
<pre>
{{ JSON.stringify(value, 0, 2) }}
</pre>
export default {
data () {
return {
value: [
'',
'',
''
]
}
}
}