表体只有一列表格
- 示例图

- 表体只有一列
-
组件代码
<div class="coordinate-table h-100"
@paste="(e) => handleTablePaste(e)"
@mousedown="handleDragStart">
<td class="td-box"
:style="CellStyle"
@click="setActiveRow(rowIdx)"
:class="{'selected': isRowSelected(rowIdx)}">
<input type="number"
v-limit-decimal
class="content-input"
:disabled="!row.bUpdate"
@input="onChangeItemValue"
@click.stop="setActiveRow(rowIdx)"
v-model="row.value"
:data-row="rowIdx"
@keydown="handleKeydown($event, rowIdx)" />
{{ yAxis[rowIdx] }}

浙公网安备 33010602011771号