agilebuilder-ui 1.0.85-temp6 → 1.0.85-temp8

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": "agilebuilder-ui",
3
- "version": "1.0.85-temp6",
3
+ "version": "1.0.85-temp8",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -235,7 +235,6 @@ const customFormatter = {
235
235
  if (column && column.formatter && column.formatter.options && column.formatter.options.format) {
236
236
  jumpPageJson = column.formatter.options.format
237
237
  }
238
- debugger
239
238
  if (this.rowLinkConfigMapping[rowIndex]) {
240
239
  jumpPageJson = this.rowLinkConfigMapping[rowIndex]
241
240
  }
@@ -271,7 +271,7 @@
271
271
  columnFormatter !== undefined &&
272
272
  columnFormatter.type !== undefined &&
273
273
  columnFormatter.type === 'hyperlinks' &&
274
- getMyHyperLinkSetting(row).visible === true
274
+ getMyHyperLinkSetting(row, rowIndex).visible === true
275
275
  "
276
276
  type="primary"
277
277
  @click="clickHyperLink(column, row, listCode, rowIndex)"
@@ -280,17 +280,17 @@
280
280
  v-if="isShowOverflowTooltip"
281
281
  :id="column.prop + 'DomData' + rowIndex"
282
282
  :style="isShowForm ? {} : { width: cellWidth + 'px' }"
283
- :title="$escapeHtml(getMyHyperLinkSetting(row).title)"
283
+ :title="$escapeHtml(getMyHyperLinkSetting(row, rowIndex).title)"
284
284
  :class="isShowForm ? '' : 'ellipsis cell--span'"
285
- >{{ $escapeHtml(getMyHyperLinkSetting(row).label) }}
286
- <el-icon v-if="getMyHyperLinkSetting(row).icon">
287
- <component :is="getMyHyperLinkSetting(row).icon" />
285
+ >{{ $escapeHtml(getMyHyperLinkSetting(row, rowIndex).label) }}
286
+ <el-icon v-if="getMyHyperLinkSetting(row, rowIndex).icon">
287
+ <component :is="getMyHyperLinkSetting(row, rowIndex).icon" />
288
288
  </el-icon>
289
289
  </span>
290
290
  <span v-else :id="column.prop + 'DomData' + rowIndex" :class="isShowForm ? '' : 'cell--span'"
291
- >{{ $escapeHtml(getMyHyperLinkSetting(row).label) }}
292
- <el-icon v-if="getMyHyperLinkSetting(row).icon">
293
- <component :is="getMyHyperLinkSetting(row).icon" />
291
+ >{{ $escapeHtml(getMyHyperLinkSetting(row, rowIndex).label) }}
292
+ <el-icon v-if="getMyHyperLinkSetting(row, rowIndex).icon">
293
+ <component :is="getMyHyperLinkSetting(row, rowIndex).icon" />
294
294
  </el-icon>
295
295
  </span>
296
296
  </el-link>
@@ -922,8 +922,9 @@ export default {
922
922
  tableName,
923
923
  this.listCode
924
924
  )
925
- if (hyperLinkResult.jumpPageSetting) {
926
- rowLinkConfigMapping[rowIndex] = hyperLinkResult.jumpPageSetting
925
+ debugger
926
+ if (hyperLinkResult.jumpPageSetting && rowIndex !== undefined) {
927
+ this.rowLinkConfigMapping[rowIndex] = hyperLinkResult.jumpPageSetting
927
928
  }
928
929
  hyperLinkResult.icon = this.getHyperIconClass(hyperLinkResult)
929
930
  return hyperLinkResult