Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
787ef840
Commit
787ef840
authored
Jan 09, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
b5905947
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
my-info.vue
src/pages/myInfo/my-info.vue
+22
-8
No files found.
src/pages/myInfo/my-info.vue
View file @
787ef840
...
...
@@ -929,11 +929,15 @@ export default {
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
info
.
code
===
0
)
{
return
res
.
info
.
data
.
authUrl
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
authUrl
))
{
vm
.
authUrl
=
res
.
info
.
data
.
authUrl
return
vm
.
authUrl
}
else
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
openId
))
{
vm
.
authUrl
=
res
.
info
.
data
.
openId
return
vm
.
authUrl
}
else
{
hlsPopup
.
show
LongCente
r
(
res
.
info
.
msg
)
return
null
hlsPopup
.
show
Erro
r
(
res
.
info
.
msg
)
return
''
}
},
// 获取企业认证url
...
...
@@ -946,11 +950,21 @@ export default {
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
info
.
code
===
0
)
{
return
res
.
info
.
data
.
authUrl
// if (res.info.code === 0) {
// return res.info.data.authUrl
// } else {
// hlsPopup.showLongCenter(res.info.msg)
// return null
// }
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
authUrl
))
{
vm
.
authUrl
=
res
.
info
.
data
.
authUrl
return
vm
.
authUrl
}
else
if
((
res
.
info
.
code
===
0
)
&&
(
res
.
info
.
data
.
openId
))
{
vm
.
authUrl
=
res
.
info
.
data
.
openId
return
vm
.
authUrl
}
else
{
hlsPopup
.
show
LongCente
r
(
res
.
info
.
msg
)
return
null
hlsPopup
.
show
Erro
r
(
res
.
info
.
msg
)
return
''
}
},
},
...
...
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