Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-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
mongo-ui
Commits
74b71b22
Commit
74b71b22
authored
Aug 04, 2020
by
郭志伟
Committed by
郝聪敏
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 联调
parent
e96cb24d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
AuthFromXyqb.vue
src/components/AuthFromXyqb.vue
+1
-1
index.js
src/store/index.js
+4
-4
index.vue
src/views/Consultant/Buy/index.vue
+1
-1
No files found.
src/components/AuthFromXyqb.vue
View file @
74b71b22
...
...
@@ -22,7 +22,7 @@ export default {
...
mapState
([
"
showAuthXyqb
"
])
},
methods
:
{
...
mapActions
([
"
set
Show
AuthXyqb
"
])
...
mapActions
([
"
setAuthXyqb
"
])
}
};
</
script
>
...
...
src/store/index.js
View file @
74b71b22
...
...
@@ -9,7 +9,7 @@ export default new Vuex.Store({
activeIdx
:
0
,
isLoading
:
false
,
isShowLogin
:
false
,
showAuthXyqb
:
"
init
"
// init 已获取信息未授权,pending 授权弹框
showAuthXyqb
:
"
init
"
// init 已获取信息未授权,pending 授权弹框
, reject 拒绝授权,resolve允许授权
},
mutations
:
{
setActiveIdx
(
state
,
value
)
{
...
...
@@ -21,7 +21,7 @@ export default new Vuex.Store({
setIsShowLogin
(
state
,
value
)
{
state
.
isShowLogin
=
value
;
},
a
uthXyqb
(
state
,
value
)
{
setA
uthXyqb
(
state
,
value
)
{
state
.
showAuthXyqb
=
value
;
}
},
...
...
@@ -35,8 +35,8 @@ export default new Vuex.Store({
setIsShowLogin
({
commit
},
args
)
{
commit
(
"
setIsShowLogin
"
,
args
);
},
set
s
uthXyqb
({
commit
},
args
)
{
commit
(
"
set
Show
AuthXyqb
"
,
args
);
set
A
uthXyqb
({
commit
},
args
)
{
commit
(
"
setAuthXyqb
"
,
args
);
}
},
modules
:
{
...
...
src/views/Consultant/Buy/index.vue
View file @
74b71b22
...
...
@@ -234,7 +234,7 @@ export default {
async
goPay
()
{
const
res
=
await
goPay
({
tradeType
:
this
.
tradeType
});
if
(
res
)
{
payByWay
(
this
.
tradeType
,
res
).
then
(()
=>
{
payByWay
(
this
.
tradeType
,
res
.
payInfo
).
then
(()
=>
{
this
.
$notify
({
type
:
"
success
"
,
message
:
"
支付成功
"
});
setTimeout
(()
=>
{
// this.$router.push("/consultant/success");
...
...
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