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/dist/h5/index.js +1 -1
- package/dist/theme/element/index.css +1 -1
- package/dist/theme/element/src/components/collapse.scss +6 -8
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/src/components/helper/eventOrchestration.js +9 -1
- package/src/theme/element/components/collapse.scss +6 -8
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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:
|
|
75
|
-
margin-bottom: 12px;
|
|
76
|
-
}
|
|
77
|
-
.CustomComponentCollapse + .CustomComponentCollapse {
|
|
74
|
+
.CustomComponentCollapse:has(+ .CustomComponentCollapse) {
|
|
78
75
|
margin-bottom: 12px;
|
|
79
76
|
}
|
|
80
77
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|