Baozhangchao hace 3 años
padre
commit
f85158fba4
Se han modificado 1 ficheros con 2 adiciones y 5 borrados
  1. 2
    5
      src/pages/RandomItinerary/index.jsx

+ 2
- 5
src/pages/RandomItinerary/index.jsx Ver fichero

@@ -26,13 +26,9 @@ export default withLayout((props) => {
26 26
 
27 27
   const onSelected = () => {
28 28
     setI(true)
29
-    setTimeout(() => {
30
-      setI(false)
31
-
32
-    }, 800);
33
-
34 29
   }
35 30
 
31
+
36 32
   const handleGoTo = () => {
37 33
     if (show >= 5) {
38 34
 
@@ -53,6 +49,7 @@ export default withLayout((props) => {
53 49
 
54 50
       } else {
55 51
         setShow(show + 1)
52
+        setI(false)
56 53
 
57 54
       }
58 55