mirror of https://github.com/ElemeFE/element
Table: fix a doc typo (#723)
parent
6e51f658cb
commit
107af480cd
|
@ -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 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
singleSelection(val) {
|
|
||||||
console.log('selection: ', val);
|
|
||||||
},
|
|
||||||
|
|
||||||
multipleSelection(val) {
|
multipleSelection(val) {
|
||||||
console.log('selection: ', val);
|
console.log('selection: ', val);
|
||||||
}
|
}
|
||||||
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue