From 6f35aa833284746bbadd3a9bd7d8833973015fbc Mon Sep 17 00:00:00 2001 From: wuhao930406 <1148547900@qq.com> Date: Thu, 14 Dec 2023 08:41:28 +0800 Subject: [PATCH] asdre --- config/env.ts | 2 +- src/pages/domybustrain/index.jsx | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/config/env.ts b/config/env.ts index ed7dd1f..bf49fc6 100755 --- a/config/env.ts +++ b/config/env.ts @@ -1,6 +1,6 @@ export default { dev: { - REACT_APP_URL: "http://192.168.40.36:8044/vstp", // http://tasks-dev.nangaoyun.com + REACT_APP_URL: "http://192.168.40.145:8044/vstp", // http://tasks-dev.nangaoyun.com DEFAULT_HEAD_IMG: "./assets/images/avatars/avatar_21.jpg", DEFAULT_404_IMG: "./assets/illustrations/illustration_404.svg", DOWNLOAD_URL: "http://192.168.40.2", diff --git a/src/pages/domybustrain/index.jsx b/src/pages/domybustrain/index.jsx index 73227ba..899ddb0 100644 --- a/src/pages/domybustrain/index.jsx +++ b/src/pages/domybustrain/index.jsx @@ -127,12 +127,8 @@ function Dolessons() { }); // add Jump - - - - - - + const token = localStorage.getItem("TOKENES"); + window.open(`ctp://${token}:${row?.id}`); }, }} btn={{ -- 2.21.0