Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fd1a4439
authored
Dec 15, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
取消考试结果查询延迟两秒
1 parent
33654e15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
packageStudyCenter/pages/myExam/myExam.js
packageStudyCenter/pages/studyCenter/studyCenter.js
packageStudyCenter/pages/myExam/myExam.js
View file @
fd1a443
...
@@ -91,11 +91,8 @@ Page({
...
@@ -91,11 +91,8 @@ Page({
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
if
(
data
)
{
if
(
data
)
{
// 查询到考试结果后 延迟两秒关闭弹窗并请求数据接口
this
.
examHandleCancel
()
setTimeout
(()
=>
{
this
.
getList
(
true
)
this
.
examHandleCancel
()
this
.
getList
(
true
)
},
2000
)
}
else
{
}
else
{
this
.
setData
({
this
.
setData
({
examSubmitText
:
'未查询到结果,请稍后再试'
examSubmitText
:
'未查询到结果,请稍后再试'
...
...
packageStudyCenter/pages/studyCenter/studyCenter.js
View file @
fd1a443
...
@@ -159,14 +159,11 @@ Page({
...
@@ -159,14 +159,11 @@ Page({
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
if
(
data
)
{
if
(
data
)
{
// 查询到考试结果延迟两秒关闭 并查询数据接口
this
.
examHandleCancel
()
setTimeout
(()
=>
{
// 查询是否有下一个考试
this
.
examHandleCancel
()
this
.
getExamInfo
()
// 查询是否有下一个考试
this
.
getStaticData
(
true
)
this
.
getExamInfo
()
this
.
getList
()
this
.
getStaticData
(
true
)
this
.
getList
()
},
2000
)
}
else
{
}
else
{
this
.
setData
({
this
.
setData
({
examSubmitText
:
'未查询到结果,请稍后再试'
examSubmitText
:
'未查询到结果,请稍后再试'
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment