Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
xzf_uniapp-wechat-web
Commits
39754511
Commit
39754511
authored
Aug 26, 2022
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交费避免重复点击加loading
parent
97489894
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
+3
-1
No files found.
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
View file @
39754511
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
schoolId
:
this
.
allData
.
schoolId
,
schoolId
:
this
.
allData
.
schoolId
,
userId
:
this
.
allData
.
userId
userId
:
this
.
allData
.
userId
})
})
uni
.
hideLoading
();
if
(
data
.
code
!=
200
)
{
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
uni
.
showToast
({
icon
:
"
none
"
,
icon
:
"
none
"
,
...
@@ -407,6 +407,7 @@
...
@@ -407,6 +407,7 @@
let
data
=
await
this
.
$http
.
post
({
let
data
=
await
this
.
$http
.
post
({
url
:
orderApi
+
'
/order-charge/app/charge/project/getPayParams
'
url
:
orderApi
+
'
/order-charge/app/charge/project/getPayParams
'
},
prepayId
)
},
prepayId
)
uni
.
hideLoading
();
if
(
data
.
code
!=
200
||
!
data
.
data
)
{
if
(
data
.
code
!=
200
||
!
data
.
data
)
{
uni
.
showToast
({
uni
.
showToast
({
icon
:
"
none
"
,
icon
:
"
none
"
,
...
@@ -423,6 +424,7 @@
...
@@ -423,6 +424,7 @@
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
//TODO handle the exception
//TODO handle the exception
uni
.
hideLoading
();
console
.
log
(
e
);
console
.
log
(
e
);
uni
.
showToast
({
uni
.
showToast
({
icon
:
"
none
"
,
icon
:
"
none
"
,
...
...
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