mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
docs: prefer shorter demo
This commit is contained in:
@@ -98,10 +98,7 @@ export default {
|
||||
'https://img.yzcdn.cn/vant/apple-4.jpg',
|
||||
];
|
||||
|
||||
const onChange1 = (index) => {
|
||||
Toast(t('message') + index);
|
||||
};
|
||||
|
||||
const onChange1 = (index) => Toast(t('message') + index);
|
||||
const onChange2 = (index) => {
|
||||
current.value = index;
|
||||
};
|
||||
|
Reference in New Issue
Block a user