shenwu před 8 měsíci
rodič
revize
4190cfa8f0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/pages/MiniApp/EmsCnpl/Auth/index.tsx

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

@@ -20,7 +20,7 @@ const Page: React.FC = () => {
     const auth = () => {
         PreAuth.run({ callbackPage: "https://testdistribution.zanxiangwl.com/#/miniApp/emsCnpl/auth" }).then(res => {
             if (res.code === 200) {
-                window.open(res?.data?.data)
+                window.open(res?.data)
             }
         })
     }