resolver-egretimp-plus 0.0.122 → 0.0.123

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.122",
3
+ "version": "0.0.123",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -133,6 +133,10 @@ export default {
133
133
  // 获取表格列的属性配置
134
134
  const getTableColumnProps = (config, idx) => {
135
135
  const nextList = tableColumnConfigs.value.slice(idx + 1)
136
+ // 当前config表格列是最后一个显示列,并且后面有hidden的列
137
+ const isEndConfig = !nextList?.filter(config => {
138
+ return config.displayType != DISPLAY_HIDDEN && !(config.width == 0 || config.width == '0px' || config.hidden == '1')
139
+ })?.length
136
140
  const nextConfig = nextList.find(config => config.displayType != DISPLAY_HIDDEN)
137
141
  const props = Object.keys(ElTableColumn.props).reduce((ret, key) => {
138
142
  if (hasOwn(config, key)) {
@@ -153,6 +157,9 @@ export default {
153
157
  if (nextConfig && (nextConfig.width == 0 || nextConfig.width == '0px' || nextConfig.hidden == '1')) {
154
158
  props.className = `${props.className || ''} next-hidden-column`
155
159
  }
160
+ if (isEndConfig) {
161
+ props.className = `${props.className || ''} end-show-column`
162
+ }
156
163
  if (
157
164
  isPlainColumn({...config, isColumn: true}, calcDisable(config, props.mode)) &&
158
165
  config.showOverflowTooltip !== false &&
@@ -120,7 +120,7 @@
120
120
  .hidden-column + .el-table__cell {
121
121
  // border: none;
122
122
  }
123
- .next-hidden-column {
124
- // border: none;
123
+ .next-hidden-column.end-show-column {
124
+ border: none;
125
125
  }
126
126
  }