diff --git a/packages/vant/src/picker/demo/index.vue b/packages/vant/src/picker/demo/index.vue index cb36a9101..c6353ceb9 100644 --- a/packages/vant/src/picker/demo/index.vue +++ b/packages/vant/src/picker/demo/index.vue @@ -44,8 +44,7 @@ const t = useTranslate({ multipleColumns: 'Multiple Columns', customChildrenKey: 'Custom Columns Fields', customChildrenColumns: customKeyColumns['en-US'], - toastContent: (value: string, index: number) => - `Value: ${value}, Index:${index}`, + toastContent: (value: string) => `Value: ${value}`, }, });