Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
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
ui
group-buy-ui
Commits
a42a6cb5
Commit
a42a6cb5
authored
Oct 05, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 解决收银台支付完成回调
parent
5b4297e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
App.vue
src/App.vue
+6
-4
payWaiting.vue
src/views/pay/payWaiting.vue
+0
-8
No files found.
src/App.vue
View file @
a42a6cb5
...
...
@@ -53,12 +53,14 @@ export default {
}
}
},
$route
()
{
$route
(
v
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
gdShare
.
shareCloseChange
();
//切换页面隐藏分享弹窗
document
.
querySelectorAll
(
'
.cr-overlay
'
)
.
forEach
(
e
=>
!
e
.
parentNode
.
className
.
includes
(
'
share
'
)
&&
e
.
parentNode
.
removeChild
(
e
));
document
.
querySelectorAll
(
'
.cr-overlay
'
).
forEach
(
e
=>
{
!
e
.
parentNode
.
className
.
includes
(
'
share
'
)
&&
!
v
.
name
==
'
payWaiting
'
&&
e
.
parentNode
.
removeChild
(
e
);
});
store
.
dispatch
(
'
change_show_mini_app_guide
'
,
{
bool
:
!
isApp
&&
!
isWxMp
&&
!
isWechat
?
true
:
false
,
pointer
:
this
...
...
src/views/pay/payWaiting.vue
View file @
a42a6cb5
...
...
@@ -28,7 +28,6 @@ import { queryPayStatus } from '@/api/pay.api';
import
cookies
from
'
@/service/cookieStorage.service
'
;
import
{
goUrlExtends
}
from
'
./extends
'
;
import
{
isApp
}
from
'
@/service/validation.service
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
export
default
{
components
:
{},
extends
:
goUrlExtends
,
...
...
@@ -52,7 +51,6 @@ export default {
}
},
mounted
()
{
this
.
getQuery
();
this
.
$dialog
({
message
:
'
请确认订单已完成支付
'
,
confirmButtonText
:
'
已完成支付
'
,
...
...
@@ -74,12 +72,6 @@ export default {
navigateBack
()
{
this
.
$router
.
replace
({
name
:
'
orderList
'
,
params
:
{
status
:
0
}
});
},
getQuery
()
{
this
.
returnUrl
=
cookies
.
get
(
'
returnUrl
'
)
||
''
;
if
(
localStorage
.
get
(
'
hideOrder
'
))
{
this
.
isOrder
=
false
;
}
},
loop
()
{
this
.
query
();
this
.
timer
=
setInterval
(()
=>
{
...
...
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