shenwu 6 months ago
parent
commit
1a0580d9b6
1 changed files with 3 additions and 1 deletions
  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 => {
                 }).then(res => {
                     if (res.code === 200) {
                     if (res.code === 200) {
                         message.success("授权成功")
                         message.success("授权成功")
-                        history.push("/miniApp/emsCnpl/auth")
+                        setTimeout(()=>{
+                            history.push("/miniApp/emsCnpl/auth")
+                        },1000)
                     }
                     }
                 })
                 })
             }
             }