Ver Fonte

feat: 修改跳转参数

year há 1 mês atrás
pai
commit
9927acc20f
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/Card/SwiperGroup.tsx

+ 2 - 2
src/components/Card/SwiperGroup.tsx

@@ -92,8 +92,8 @@ const HomeSwiper: FC<PropsWithChildren<SwiperGroupProps>> = (props) => {
                         action_type: group.action_type,
                         action_params: group.action_params,
                         additional: {
-                            default: (adata: any) => {
-                                todoHandler && todoHandler(adata);
+                            default: () => {
+                                todoHandler && todoHandler(group);
                             },
                         },
                     },