diff --git a/es/table/index.js b/es/table/index.js index 74c93ab..b3d26fe 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -477,7 +477,7 @@ const _sfc_main$2 = defineComponent({ _: 2 }, 1032, ["content"])) : (openBlock(), createElementBlock(Fragment, { key: 4 }, [ column.edit ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [ - editIndex.value[columnIndex] ? (openBlock(), createElementBlock("span", { + !editIndex.value[columnIndex] ? (openBlock(), createElementBlock("span", { key: 0, onClick: ($event) => editIndex.value[columnIndex] = true }, toDisplayString(__props.data[column.key]), 9, _hoisted_11$1)) : (openBlock(), createBlock(_component_lay_input, { diff --git a/lib/index.js b/lib/index.js index b59422f..0afb231 100644 --- a/lib/index.js +++ b/lib/index.js @@ -18688,7 +18688,7 @@ const _sfc_main$G = defineComponent({ _: 2 }, 1032, ["content"])) : (openBlock(), createElementBlock(Fragment, { key: 4 }, [ column.edit ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [ - editIndex.value[columnIndex] ? (openBlock(), createElementBlock("span", { + !editIndex.value[columnIndex] ? (openBlock(), createElementBlock("span", { key: 0, onClick: ($event) => editIndex.value[columnIndex] = true }, toDisplayString$1(__props.data[column.key]), 9, _hoisted_11$8)) : (openBlock(), createBlock(_component_lay_input, { diff --git a/src/component/table/TableRow.vue b/src/component/table/TableRow.vue index 4672c62..c38a156 100644 --- a/src/component/table/TableRow.vue +++ b/src/component/table/TableRow.vue @@ -607,7 +607,7 @@ const radioProps = props.getRadioProps(props.data, props.index);