fix input 显示
This commit is contained in:
@@ -607,7 +607,7 @@ const radioProps = props.getRadioProps(props.data, props.index);
|
||||
</lay-tooltip>
|
||||
<template v-else>
|
||||
<template v-if="column.edit">
|
||||
<span v-if="editIndex[columnIndex]" @click="editIndex[columnIndex] = true"> {{ data[column.key] }} </span>
|
||||
<span v-if="!editIndex[columnIndex]" @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>
|
||||
<span v-else> {{ data[column.key] }} </span>
|
||||
|
||||
Reference in New Issue
Block a user