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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.240",
3
+ "version": "1.0.241",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -783,12 +783,12 @@ export default {
783
783
  })
784
784
  .then((res) => {
785
785
  let { redirect_url, callback_url } = this;
786
- //if (redirect_url) redirect_url = redirect_url;
787
- let url = encodeURIComponent(redirect_url || callback_url || this.settings.index);
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;