Commit 107af480 authored by 杨奕's avatar 杨奕 Committed by FuryBean

Table: fix a doc typo (#723)

parent 6e51f658
...@@ -112,10 +112,6 @@ ...@@ -112,10 +112,6 @@
methods: { methods: {
handleSelectionChange(val) { handleSelectionChange(val) {
this.singleSelection = val;
},
handleMultipleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
}, },
...@@ -138,10 +134,6 @@ ...@@ -138,10 +134,6 @@
}, },
watch: { watch: {
singleSelection(val) {
console.log('selection: ', val);
},
multipleSelection(val) { multipleSelection(val) {
console.log('selection: ', val); console.log('selection: ', val);
} }
...@@ -684,7 +676,7 @@ ...@@ -684,7 +676,7 @@
<el-table <el-table
:data="tableData3" :data="tableData3"
style="width: 100%" style="width: 100%"
@selection-change="handleMultipleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column <el-table-column
type="selection" type="selection"
width="50"> width="50">
......
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