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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.238-beta69",
3
+ "version": "1.0.238-beta70",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -785,29 +785,31 @@ export default {
785
785
  }
786
786
  },
787
787
 
788
- getCardPath(custom_redirect_data = {}){
788
+ getCusCardPath(custom_redirect_data = {}){
789
+
789
790
  //#ifdef H5
790
791
  return null;
791
792
  //#endif
792
793
  //#ifdef MP-WEIXIN
793
- const dir = custom_redirect_data.dir;
794
- const actDir = this.projectAttr['deploy_dir'];
795
- if(custom_redirect_data.appType === 'wxmp') {
796
- if(dir === actDir) {
797
- return {
798
- cardPath: custom_redirect_data.path,
799
- cardSelf: 'wxmp',
800
- };
801
- }
802
- else return null;
803
- }
804
- else if(custom_redirect_data.appType === 'h5'){
805
- return {
806
- cardPath: custom_redirect_data.site_url,
807
- cardSelf: 'h5',
808
- };
809
- }
810
- else return null;
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