Showing
1 changed file
with
2 additions
and
2 deletions
@@ -123,8 +123,8 @@ export default { | @@ -123,8 +123,8 @@ export default { | ||
123 | getUser: function () { | 123 | getUser: function () { |
124 | return new Promise(function (resolve) { | 124 | return new Promise(function (resolve) { |
125 | let obj = { | 125 | let obj = { |
126 | - sessionType: cookies.cookie('app_client_type') || '', | ||
127 | - appVersion: cookies.cookie('app_version') || '' | 126 | + sessionType: cookies.cookie('app_client_type') || getQueryObj().app_client_type || '', |
127 | + appVersion: cookies.cookie('app_version') || getQueryObj().app_version || '' | ||
128 | } | 128 | } |
129 | if (env === 'h5' || env === 'pc') { | 129 | if (env === 'h5' || env === 'pc') { |
130 | jsonp('//m.yohobuy.com/passport/login/user').then(r => { | 130 | jsonp('//m.yohobuy.com/passport/login/user').then(r => { |
-
Please register or login to post a comment