jufubao-base 1.0.242-beta8 → 1.0.242-beta9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -605,8 +605,8 @@ export default {
|
|
|
605
605
|
},
|
|
606
606
|
|
|
607
607
|
onJfbLoad(options) {
|
|
608
|
-
if(options['x-
|
|
609
|
-
let decodeParams = Base64.decode(options['x-
|
|
608
|
+
if(options['x-share']){
|
|
609
|
+
let decodeParams = Base64.decode(options['x-share']);
|
|
610
610
|
try{
|
|
611
611
|
let commonParams = JSON.parse(decodeParams);
|
|
612
612
|
this.share_code = commonParams.share_code;
|
|
@@ -788,6 +788,7 @@ export default {
|
|
|
788
788
|
data: {
|
|
789
789
|
third_auth_code: loginRes.code,
|
|
790
790
|
provider_id: this.quickLogin.provider_id,
|
|
791
|
+
share_code: this.share_code
|
|
791
792
|
},
|
|
792
793
|
})
|
|
793
794
|
.then((res) => {
|
|
@@ -371,8 +371,8 @@ export default {
|
|
|
371
371
|
this.auth_code = options.auth_code;
|
|
372
372
|
this.provider_id = options.provider_id;
|
|
373
373
|
this.callback_url = options.callback_url;
|
|
374
|
-
if(options['x-
|
|
375
|
-
let decodeParams = Base64.decode(options['x-
|
|
374
|
+
if(options['x-share']){
|
|
375
|
+
let decodeParams = Base64.decode(options['x-share']);
|
|
376
376
|
try{
|
|
377
377
|
let commonParams = JSON.parse(decodeParams);
|
|
378
378
|
this.share_code = commonParams.share_code;
|
|
@@ -256,8 +256,8 @@
|
|
|
256
256
|
this.auth_code = options.auth_code;
|
|
257
257
|
this.provider_id = options.provider_id;
|
|
258
258
|
if(options.url) this.nextUrl = Base64.decode(options.url);
|
|
259
|
-
if(options['x-
|
|
260
|
-
let decodeParams = Base64.decode(options['x-
|
|
259
|
+
if(options['x-share']){
|
|
260
|
+
let decodeParams = Base64.decode(options['x-share']);
|
|
261
261
|
try{
|
|
262
262
|
let commonParams = JSON.parse(decodeParams);
|
|
263
263
|
this.share_code = commonParams.share_code;
|