Showing
1 changed file
with
1 additions
and
1 deletions
@@ -11,7 +11,7 @@ import jsonp from './jsonp'; | @@ -11,7 +11,7 @@ import jsonp from './jsonp'; | ||
11 | const miniAppEntrance = '/pages/common/webback'; | 11 | const miniAppEntrance = '/pages/common/webback'; |
12 | 12 | ||
13 | let _getMiniappLoginUrl = function(url) { | 13 | let _getMiniappLoginUrl = function(url) { |
14 | - let h5Url = `http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.miniapp_login","params":{"h5back":"${encodeURIComponent(location.href)}"}}`; | 14 | + let h5Url = `http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.miniapp_login","params":{"h5back":"${encodeURIComponent(url)}"}}`; |
15 | 15 | ||
16 | return `${miniAppEntrance}?url=${encodeURIComponent(h5Url)}` | 16 | return `${miniAppEntrance}?url=${encodeURIComponent(h5Url)}` |
17 | }; | 17 | }; |
-
Please register or login to post a comment