Activity.tsx 486 B

123456789101112131415161718192021
  1. import { View,Text } from "@tarojs/components";
  2. import Activity from '@/features/trackSomething/components/Activity'
  3. import { useReady } from "@tarojs/taro";
  4. import { activityCards } from "@/services/trackSomething";
  5. export default function Page(){
  6. // useReady(()=>{
  7. // activityCards().then(res=>{
  8. // })
  9. // })
  10. function refresh(){
  11. console.log('refresh')
  12. }
  13. return (
  14. <View>
  15. <Activity />
  16. </View>
  17. )
  18. }