Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
scrm-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 031d7243
authored
Sep 02, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改头像显示/非微信环境返回
1 parent
fbc00cfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
src/views/common/expcard.vue
src/views/equity/index.vue
src/views/common/expcard.vue
View file @
031d724
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
this
.
alert
({
message
,
title
:
'提示'
}
)
this
.
alert
({
message
,
title
:
'提示'
}
)
return
return
}
}
this
.
$router
.
replace
({
name
:
"common.appTip"
}
);
this
.
$router
.
push
({
name
:
"common.appTip"
}
);
}
)
}
)
}
}
}
,
}
,
...
...
src/views/equity/index.vue
View file @
031d724
...
@@ -158,9 +158,10 @@ export default {
...
@@ -158,9 +158,10 @@ export default {
name
:
"index"
,
name
:
"index"
,
data
()
{
data
()
{
return
{
return
{
userInfo
:
JSON
.
parse
(
sessionStorage
.
getItem
(
"GL_EQUITY_USER_INFO"
))
userInfo
:
{
?
JSON
.
parse
(
sessionStorage
.
getItem
(
"GL_EQUITY_USER_INFO"
))
nickName
:
''
,
:
{},
logo
:
''
},
showFollowAccount
:
false
,
showFollowAccount
:
false
,
ismember
:
false
,
ismember
:
false
,
icon
:
require
(
`@a/images/notice.png`
),
icon
:
require
(
`@a/images/notice.png`
),
...
@@ -179,9 +180,6 @@ export default {
...
@@ -179,9 +180,6 @@ export default {
let
routerQuery
=
this
.
$route
.
query
;
let
routerQuery
=
this
.
$route
.
query
;
//体验领取页面返回的结果
//体验领取页面返回的结果
let
result
=
this
.
getLocalStorage
(
"bindinfo"
);
let
result
=
this
.
getLocalStorage
(
"bindinfo"
);
let
{
nickName
,
logo
}
=
this
.
$store
.
state
;
this
.
userInfo
.
nickName
=
nickName
;
this
.
userInfo
.
logo
=
logo
;
// 页面入口判断
// 页面入口判断
this
.
judgeFrom
(
routerQuery
,
result
);
this
.
judgeFrom
(
routerQuery
,
result
);
},
},
...
@@ -266,6 +264,10 @@ export default {
...
@@ -266,6 +264,10 @@ export default {
});
});
this
.
getShareInfoUrl
();
this
.
getShareInfoUrl
();
this
.
isConcernFn
();
this
.
isConcernFn
();
//app那边可能拿不到头像---写这个重新获取一下
let
{
nickName
,
logo
}
=
this
.
$store
.
state
;
this
.
userInfo
.
nickName
=
nickName
;
this
.
userInfo
.
logo
=
logo
;
},
},
//设置用户信息--获取权益信息
//设置用户信息--获取权益信息
setUserInfo
(
data
)
{
setUserInfo
(
data
)
{
...
...
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