mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Tabs): update name match
This commit is contained in:
parent
f33ddfda06
commit
ab0accba4f
@ -37,7 +37,7 @@ export default {
|
|||||||
|
|
||||||
### 通过名称匹配
|
### 通过名称匹配
|
||||||
|
|
||||||
在标签指定`name`属性的情况下,`v-model`的值为当前标签的`name`
|
在标签指定`name`属性的情况下,`v-model`的值为当前标签的`name`(此时无法通过索引值来匹配标签)
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<van-tabs v-model="activeName">
|
<van-tabs v-model="activeName">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user