fix 不显示问题

This commit is contained in:
2023-02-16 14:01:18 +08:00
parent d3b3161574
commit afa4ba6749
4 changed files with 109 additions and 122 deletions

View File

@@ -610,10 +610,7 @@ const radioProps = props.getRadioProps(props.data, props.index);
<span v-if="editIndex[columnIndex] == false" @click="editIndex[columnIndex] = true"> {{ data[column.key] }} </span>
<lay-input v-model="data[column.key]" v-else @keyup.enter = "editIndex[columnIndex] = false" @blur="editIndex[columnIndex] = false"></lay-input>
</template>
<template v-esle>
<span> {{ data[column.key] }} </span>
</template>
<span v-else> {{ data[column.key] }} </span>
</template>
</div>
</td>