resolver-egretimp-plus 0.0.143 → 0.0.144

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.143",
3
+ "version": "0.0.144",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -473,12 +473,16 @@ export default {
473
473
  { columnConfg.headerRender ? columnConfg.headerRender(h, { props, config: columnConfg, lang, rootValue, selects })
474
474
  : (lang.value.indexOf('zh') > -1 ? columnConfg.metaNameZh : columnConfg.metaNameEn)
475
475
  }
476
+ {
477
+ columnConfg.hintFlag == '1' ? (
478
+ <ElTooltip effect="dark" content={lang.value.indexOf('zh') > -1 ? columnConfg.hintContentZh : columnConfg.hintContentEn} placement="top">
479
+ <elIcon style="fontSize: 16px; verticalAlign: middle; margin-left: 3px;"><QuestionFilled /></elIcon>
480
+ </ElTooltip>
481
+ ) : null
482
+ }
476
483
  </span>
477
484
  ),
478
- // default: ({row, $index}) => {
479
- // return getValue($index)?.[columnConfg.metaCode]
480
- // }
481
- default: ({row, $index}) => {
485
+ default: ({row, column, $index}) => {
482
486
  if (row.totalFlag) {
483
487
  return totalCodeRenders.value[columnConfg.metaCode] ? totalCodeRenders.value[columnConfg.metaCode]({
484
488
  val: row[columnConfg.metaCode],
@@ -489,7 +493,7 @@ export default {
489
493
  const config = multiPmPageMetaList.value?.[$index]?.[configIdx]
490
494
  return (
491
495
  tableColumnNotRender(config) ? null :
492
- <Renderer key={`${config.columnId}-${config.rowIndex}`} class="error-tip-block" modelValue={getValue($index)} rowScope={{row, $index}} onUpdate:modelValue={(val) => { onUpdateModelValue(val, $index) }} config={config}></Renderer>
496
+ <Renderer key={`${config.columnId}-${config.rowIndex}`} class="error-tip-block" rowScope={{row, $index}} modelValue={getValue($index)} onUpdate:modelValue={(val) => { onUpdateModelValue(val, $index) }} config={config}></Renderer>
493
497
  )
494
498
  }
495
499
  }}