Browse Source

Merge branch 'master' into ouqian

ouqian
ouqian 1 month ago
parent
commit
a30109387b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/components/Template/CustomTable.vue

+ 2
- 2
src/components/Template/CustomTable.vue View File

@ -22,7 +22,7 @@
<template v-if="headerCol.type === 'span'"> <template v-if="headerCol.type === 'span'">
<div class="span-content">{{ $t(headerCol.label) }}</div> <div class="span-content">{{ $t(headerCol.label) }}</div>
</template> </template>
<template v-else-if="headerCol.type === 'sj'">
<template v-else-if="isRegent(headerCol)">
<HandleFormItem <HandleFormItem
:fieldKey="prefixKey + colIndex + '_' + headerCol.key + '_' + headerIndex" :fieldKey="prefixKey + colIndex + '_' + headerCol.key + '_' + headerIndex"
:fieldItemLabel="fieldItemLabel" :type="headerCol.type" :fieldItemLabel="fieldItemLabel" :type="headerCol.type"
@ -33,7 +33,7 @@
@update:error="onHeaderColumnErrorUpdate(colIndex, headerIndex, headerCol.key, $event)" @update:error="onHeaderColumnErrorUpdate(colIndex, headerIndex, headerCol.key, $event)"
@onRegentSubmit="(data, inputValue) => onHeaderRegentSubmit(data, inputValue, colIndex, headerIndex)" /> @onRegentSubmit="(data, inputValue) => onHeaderRegentSubmit(data, inputValue, colIndex, headerIndex)" />
</template> </template>
<template v-else-if="headerCol.type === 'input' || headerCol.type === 'select'">
<template v-else-if="headerCol.type === 'input' || headerCol.type === 'select'|| headerCol.type === 'inputNumber'">
<HandleFormItem <HandleFormItem
:fieldKey="prefixKey + '_header_' + colIndex + '_' + headerIndex" :fieldKey="prefixKey + '_header_' + colIndex + '_' + headerIndex"
:fieldItemLabel="fieldItemLabel" :type="headerCol.type" :fieldItemLabel="fieldItemLabel" :type="headerCol.type"

Loading…
Cancel
Save