shenwu 6 kuukautta sitten
vanhempi
commit
1a0580d9b6
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/pages/MiniApp/EmsCnpl/Auth/index.tsx

+ 3 - 1
src/pages/MiniApp/EmsCnpl/Auth/index.tsx

@@ -40,7 +40,9 @@ const Page: React.FC = () => {
                 }).then(res => {
                     if (res.code === 200) {
                         message.success("授权成功")
-                        history.push("/miniApp/emsCnpl/auth")
+                        setTimeout(()=>{
+                            history.push("/miniApp/emsCnpl/auth")
+                        },1000)
                     }
                 })
             }