Commit 928ae354 by 唐玉峰

.

parent bfd4f5ea
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
ref="singleTable" ref="singleTable"
:data="gridData" :data="gridData"
highlight-current-row highlight-current-row
@row-dblclick.enter="rowdblclick" @row-dblclick="rowdblclick"
max-height="400" max-height="400"
size="mini" size="mini"
style="width: 100%" style="width: 100%"
...@@ -661,7 +661,6 @@ export default { ...@@ -661,7 +661,6 @@ export default {
el.id = i++; el.id = i++;
}); });
this.$refs.singleTable.setCurrentRow(data[0]); this.$refs.singleTable.setCurrentRow(data[0]);
console.log(this.currentRow);
} }
this.gridData = data; this.gridData = data;
}) })
...@@ -670,9 +669,6 @@ export default { ...@@ -670,9 +669,6 @@ export default {
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentRow = val; this.currentRow = val;
}, },
handleEnter() {
console.log("Enter key was pressed");
},
rowdblclick(row, column, event) { rowdblclick(row, column, event) {
this.pushData(row, this.tableData); this.pushData(row, this.tableData);
this.tempRow.isPop = false; this.tempRow.isPop = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment