张延森 il y a 3 ans
Parent
révision
4b02d35a48
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/components/CustomNav/index.jsx

+ 1
- 1
src/components/CustomNav/index.jsx Voir le fichier

@@ -65,7 +65,7 @@ export default (props) => {
65 65
   }
66 66
 
67 67
   const goHome = () => {
68
-    Taro.navigateTo({
68
+    Taro.reLaunch({
69 69
       url: '/pages/index/index'
70 70
     })
71 71
   }