diff --git a/src/components/EditableDiv.vue b/src/components/EditableDiv.vue new file mode 100644 index 0000000..1b02601 --- /dev/null +++ b/src/components/EditableDiv.vue @@ -0,0 +1,79 @@ + + + \ No newline at end of file diff --git a/src/components/EditableTable.vue b/src/components/EditableTable.vue index 852c22b..8dc8823 100644 --- a/src/components/EditableTable.vue +++ b/src/components/EditableTable.vue @@ -3,6 +3,17 @@ class="editable-table" :style="{ width: width + 'px' }" > +
+
+
@@ -28,10 +39,12 @@ @mouseenter="handleCellMouseenter(rowIndex, colIndex)" v-contextmenu="el => contextmenus(el)" > -
+ v-model="cell.text" + /> @@ -40,9 +53,12 @@