jufubao-base 1.0.240 → 1.0.241
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
|
@@ -783,12 +783,12 @@ export default {
|
|
|
783
783
|
})
|
|
784
784
|
.then((res) => {
|
|
785
785
|
let { redirect_url, callback_url } = this;
|
|
786
|
-
|
|
787
|
-
|
|
786
|
+
let url = '';
|
|
787
|
+
if(this.mpAuthPhoneUrl) url = Base64.encodeURI(redirect_url || callback_url || this.settings.index);
|
|
788
|
+
else url = encodeURIComponent(redirect_url || callback_url || this.settings.index);
|
|
788
789
|
let regUrl = this.phone_number_login_url;
|
|
789
790
|
let collect = this.phone_number_collect_url;
|
|
790
791
|
let urlStr = `callback_url=${url}`;
|
|
791
|
-
|
|
792
792
|
if(this.mpAuthPhoneUrl){
|
|
793
793
|
regUrl = this.mpAuthPhoneUrl;
|
|
794
794
|
collect = this.mpAuthPhoneUrl;
|