gxd-uni-library-editx 1.0.103 → 1.0.104

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": "gxd-uni-library-editx",
3
- "version": "1.0.103",
3
+ "version": "1.0.104",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -106,15 +106,18 @@ export default {
106
106
  })
107
107
  },
108
108
 
109
- handleCardInit(cardList,isChange = false,paddingBottom =30){
109
+ handleCardInit(cardList,type,paddingBottom =30){
110
110
  let newCardList = this.$xdUniHelper.cloneDeep(cardList);
111
111
  let validCardList = this.getCardGroupItem(newCardList.list.filter((item) => {
112
- if(isChange === true) return item["is_valid"] === "Y";
113
- else return item["is_exchange"] === "Y";
112
+ return item[type]==='Y'
113
+ // if(isChange === true) return item["is_valid"] === "Y";
114
+ // else return item["is_exchange"] === "Y";
114
115
  }), newCardList['site_entry_settings']).map((item,index)=>{
115
116
  item['index'] = index;
116
117
  return item
117
118
  });
119
+ console.log(validCardList,'validCardListvalidCardList');
120
+
118
121
 
119
122
  this.cardOrgList = this.$xdUniHelper.cloneDeep(validCardList);
120
123
  console.warn(`cardOrgList:${this.cardOrgList.length}`)