jufubao-base 1.0.238-beta69 → 1.0.238-beta70
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
|
@@ -785,29 +785,31 @@ export default {
|
|
|
785
785
|
}
|
|
786
786
|
},
|
|
787
787
|
|
|
788
|
-
|
|
788
|
+
getCusCardPath(custom_redirect_data = {}){
|
|
789
|
+
|
|
789
790
|
//#ifdef H5
|
|
790
791
|
return null;
|
|
791
792
|
//#endif
|
|
792
793
|
//#ifdef MP-WEIXIN
|
|
793
|
-
|
|
794
|
-
const
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
}
|
|
810
|
-
|
|
794
|
+
return this.getCardPath()
|
|
795
|
+
// const dir = custom_redirect_data.dir;
|
|
796
|
+
// const actDir = this.projectAttr['deploy_dir'];
|
|
797
|
+
// if(custom_redirect_data.appType === 'wxmp') {
|
|
798
|
+
// if(dir === actDir) {
|
|
799
|
+
// return {
|
|
800
|
+
// cardPath: custom_redirect_data.path,
|
|
801
|
+
// cardSelf: 'wxmp',
|
|
802
|
+
// };
|
|
803
|
+
// }
|
|
804
|
+
// else return null;
|
|
805
|
+
// }
|
|
806
|
+
// else if(custom_redirect_data.appType === 'h5'){
|
|
807
|
+
// return {
|
|
808
|
+
// cardPath: custom_redirect_data.site_url,
|
|
809
|
+
// cardSelf: 'h5',
|
|
810
|
+
// };
|
|
811
|
+
// }
|
|
812
|
+
// else return null;
|
|
811
813
|
//#endif
|
|
812
814
|
},
|
|
813
815
|
|