jufubao-base 1.0.188 → 1.0.189
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/get.package.path.js
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
const getPackagePath = (threePackagePath, packname = 'gxd-commands-bussiness')=>{
|
|
10
10
|
if(packname === 'gxd-commands-bussiness') {
|
|
11
|
-
return `/Users/shiyonggao/
|
|
11
|
+
return `/Users/shiyonggao/home/root/Base-Jufubao/xd-commands-bussiness/${threePackagePath}`;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
if (packname === 'gxd-uni-library-editx') {
|
|
15
|
-
return `/Users/shiyonggao/
|
|
15
|
+
return `/Users/shiyonggao/home/root/Base-Jufubao/xd-uni-library-editx/${threePackagePath}`;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -706,7 +706,7 @@ export default {
|
|
|
706
706
|
*/
|
|
707
707
|
handleBindLogin(item , entry) {
|
|
708
708
|
//卡券登录
|
|
709
|
-
if (this.tabIndex === 1||this.tabIndex === 2) {
|
|
709
|
+
if (this.tabIndex === 1 || this.tabIndex === 2) {
|
|
710
710
|
if (item["is_valid"] !== "Y") {
|
|
711
711
|
return;
|
|
712
712
|
}
|
|
@@ -719,6 +719,7 @@ export default {
|
|
|
719
719
|
}, false);
|
|
720
720
|
return
|
|
721
721
|
}
|
|
722
|
+
|
|
722
723
|
jfbRootExec("loginEntryCardBind", {
|
|
723
724
|
vm: this,
|
|
724
725
|
data: { card_number: item["card_number"] },
|
|
@@ -775,7 +776,15 @@ export default {
|
|
|
775
776
|
},
|
|
776
777
|
|
|
777
778
|
handleClick(entry){
|
|
778
|
-
if (this.$configProject['isPreview']) return
|
|
779
|
+
if (this.$configProject['isPreview']) return;
|
|
780
|
+
|
|
781
|
+
//登陆成功,有回调地址返回回调地址
|
|
782
|
+
if(this.inCallback) {
|
|
783
|
+
this.$xdUniHelper.redirectTo({
|
|
784
|
+
url:this.inCallback
|
|
785
|
+
}, false);
|
|
786
|
+
return;
|
|
787
|
+
}
|
|
779
788
|
|
|
780
789
|
const {dir, path, host, appType} = entry['redirect_data'];
|
|
781
790
|
let regHttp = /^(\/\/|http:\/\/|https:\/\/).+$/;
|
|
@@ -848,7 +857,7 @@ export default {
|
|
|
848
857
|
if(options['x-test'] === 'jfb-console') this.showIndex = true;
|
|
849
858
|
this.options = options;
|
|
850
859
|
let { inCallback } = options;
|
|
851
|
-
this.force = inCallback
|
|
860
|
+
this.force = !!inCallback;
|
|
852
861
|
if(!inCallback) this.$storage.remove("inCallback"); //作为入口
|
|
853
862
|
else {
|
|
854
863
|
this.$storage.set("inCallback", inCallback);
|
|
@@ -950,6 +959,7 @@ export default {
|
|
|
950
959
|
this.handleCardInit(this.ajaxCardList, type);
|
|
951
960
|
this.cardPageNum = 1;
|
|
952
961
|
this.$xdHideLoading();
|
|
962
|
+
|
|
953
963
|
})
|
|
954
964
|
.catch(() => this.$xdHideLoading());
|
|
955
965
|
},
|