resolver-egretimp-plus 0.0.169 → 0.0.170

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": "resolver-egretimp-plus",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -116,7 +116,15 @@ export async function dispatchClickEvent(service, { dynamicMapComp, requestTrace
116
116
  // ret.data = {result: {pageTotalCount: 100, result: [{},{},{},{},{}]}}
117
117
  initOutParamData(service.outParamMappingList, {dynamicMapComp, dynamicMapCompKeys, dynamicHireRelat, outResult: ret.data})
118
118
  if (tableConfig?.vm) {
119
- const total = parseInt(getPathVal(ret.data?.result || {}, service.pageTotalCount || 'pageCount'))
119
+ let totalObj = ret.data?.result
120
+ let pageTotalCountKey = service.pageTotalCount
121
+ const deepMatch = /^_deep:(.+)$/
122
+ const matchs = service.pageTotalCount?.match(deepMatch)
123
+ if (matchs) {
124
+ totalObj = ret.data
125
+ pageTotalCountKey = matchs[1]
126
+ }
127
+ const total = parseInt(getPathVal(totalObj || {}, pageTotalCountKey || 'pageCount'))
120
128
  tableConfig.vm.page.total = total
121
129
  // tableConfig.vm?.changePage(total, 'total')
122
130
  }
@@ -71,17 +71,15 @@
71
71
  }
72
72
  }
73
73
 
74
- .CustomComponentCollapse:first-child {
75
- margin-bottom: 12px;
76
- }
77
- .CustomComponentCollapse + .CustomComponentCollapse {
74
+ .CustomComponentCollapse:has(+ .CustomComponentCollapse) {
78
75
  margin-bottom: 12px;
79
76
  }
80
77
 
81
- .CustomComponentCollapse.is-card:first-child {
82
- margin-bottom: 16px;
83
- }
84
- .CustomComponentCollapse.is-card + .CustomComponentCollapse.is-card {
78
+ // 选择第一个
79
+ // :not(.CustomComponentCollapse.is-card) + .CustomComponentCollapse.is-card {
80
+ // background: red;
81
+ // }
82
+ .CustomComponentCollapse.is-card:has(+ .CustomComponentCollapse.is-card) {
85
83
  margin-bottom: 16px;
86
84
  }
87
85