shenwu 8 mēneši atpakaļ
vecāks
revīzija
4190cfa8f0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
             }
         })
     }