mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
Merge pull request #146 from wanli-song/develop
docs(tag): modify the demo of DynamicTags
This commit is contained in:
commit
9edf4b6301
@ -1,10 +1,10 @@
|
||||
# Edit Dynamically
|
||||
```html
|
||||
<n-dynamic-tags v-model="model.tags" @change="handleChange" />
|
||||
|
||||
Use in form.
|
||||
<p style="margin: 20px 0 16px 0;">Use in form.</p>
|
||||
<n-form :model="model" :rules="rules">
|
||||
<n-form-item
|
||||
style="padding-top:0"
|
||||
path="tags"
|
||||
>
|
||||
<n-dynamic-tags v-model="model.tags" />
|
||||
|
@ -1,10 +1,10 @@
|
||||
# 动态编辑标签
|
||||
```html
|
||||
<n-dynamic-tags v-model="model.tags" @change="handleChange" />
|
||||
|
||||
在表单中使用
|
||||
<p style="margin: 20px 0 16px 0;">在表单中使用</p>
|
||||
<n-form :model="model" :rules="rules">
|
||||
<n-form-item
|
||||
style="padding-top:0"
|
||||
path="tags"
|
||||
>
|
||||
<n-dynamic-tags v-model="model.tags" />
|
||||
|
Loading…
Reference in New Issue
Block a user