mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-09 22:49:45 +08:00
[Doc] Collapse: fix typo in document (#1602)
This commit is contained in:
parent
f3e050c876
commit
362964232d
@ -77,7 +77,7 @@ Page({
|
|||||||
},
|
},
|
||||||
onChange(event) {
|
onChange(event) {
|
||||||
this.setData({
|
this.setData({
|
||||||
activeNames: event.detail
|
activeName: event.detail
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -100,7 +100,7 @@ Page({
|
|||||||
``` javascript
|
``` javascript
|
||||||
Page({
|
Page({
|
||||||
data: {
|
data: {
|
||||||
activeName: ['1']
|
activeNames: ['1']
|
||||||
},
|
},
|
||||||
onChange(event) {
|
onChange(event) {
|
||||||
this.setData({
|
this.setData({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user