FixEditcell: 修复可编辑单元格不显示0的bug (#1486)
* fix: 修复可编辑表格不显示 0 的bug * fix: 修复编辑单元格为空时不能触发编辑的bug
This commit is contained in:
parent
aab6b4f393
commit
46e28f0203
|
|
@ -6,7 +6,7 @@
|
||||||
@click="handleEdit"
|
@click="handleEdit"
|
||||||
>
|
>
|
||||||
<div class="cell-content" :title="column.ellipsis ? getValues ?? '' : ''">
|
<div class="cell-content" :title="column.ellipsis ? getValues ?? '' : ''">
|
||||||
{{ getValues ? getValues : ' ' }}
|
{{ getValues || getValues === 0 ? getValues : ' ' }}
|
||||||
</div>
|
</div>
|
||||||
<FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" />
|
<FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue