Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
ff0ef3cb
Commit
ff0ef3cb
authored
Dec 14, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ader
parent
6f35aa83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
env.ts
config/env.ts
+1
-1
proxy.ts
config/proxy.ts
+1
-1
index.jsx
src/pages/domybustrain/index.jsx
+5
-4
No files found.
config/env.ts
View file @
ff0ef3cb
export
default
{
dev
:
{
REACT_APP_URL
:
"
http://192.168.40.145:8044
/vstp"
,
// http://tasks-dev.nangaoyun.com
REACT_APP_URL
:
"/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"
,
...
...
config/proxy.ts
View file @
ff0ef3cb
...
...
@@ -22,7 +22,7 @@
export
default
{
dev
:
{
"/vstp/"
:
{
target
:
"http://192.168.40.
228
:8022"
,
target
:
"http://192.168.40.
146
:8022"
,
changeOrigin
:
true
,
pathRewrite
:
{
"^/vstp"
:
""
},
},
...
...
src/pages/domybustrain/index.jsx
View file @
ff0ef3cb
...
...
@@ -121,14 +121,15 @@ function Dolessons() {
okText
:
"确认"
,
cancelText
:
"取消"
,
onConfirm
:
async
()
=>
{
await
runAsync
({
let
res
=
await
runAsync
({
url
:
"/studentExperiment/startExperiment"
,
params
:
{
id
:
row
?.
id
},
});
// add Jump
const
token
=
localStorage
.
getItem
(
"TOKENES"
);
window
.
open
(
`ctp://${token}:${row?.id}`
);
if
(
res
.
code
===
"0000"
)
{
const
token
=
localStorage
.
getItem
(
"TOKENES"
);
window
.
open
(
`ctp://${token}:${row?.id}`
);
}
},
}
}
btn=
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment