Commit 928ae354 by 唐玉峰

.

parent bfd4f5ea
......@@ -157,7 +157,7 @@
ref="singleTable"
:data="gridData"
highlight-current-row
@row-dblclick.enter="rowdblclick"
@row-dblclick="rowdblclick"
max-height="400"
size="mini"
style="width: 100%"
......@@ -661,7 +661,6 @@ export default {
el.id = i++;
});
this.$refs.singleTable.setCurrentRow(data[0]);
console.log(this.currentRow);
}
this.gridData = data;
})
......@@ -670,9 +669,6 @@ export default {
handleCurrentChange(val) {
this.currentRow = val;
},
handleEnter() {
console.log("Enter key was pressed");
},
rowdblclick(row, column, event) {
this.pushData(row, this.tableData);
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