diff --git a/src/other_pages/emptyState/index.tsx b/src/other_pages/emptyState/index.tsx index 3da481b..78b1f21 100644 --- a/src/other_pages/emptyState/index.tsx +++ b/src/other_pages/emptyState/index.tsx @@ -31,7 +31,7 @@ function Index() { // 跳转到其他球局 - 返回首页列表 const handle_go_to_other_games = () => { - (Taro as any).redirectTo({ + Taro.redirectTo({ url: '/main_pages/index', }); };