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