mirror of https://github.com/ElemeFE/element
Update vue-rc.2
parent
c95b125762
commit
cae2767cda
|
@ -85,9 +85,9 @@
|
|||
this.singleSelection = val;
|
||||
},
|
||||
|
||||
// handleMultipleSelectionChange(val) {
|
||||
// this.multipleSelection = val;
|
||||
// }
|
||||
handleMultipleSelectionChange(val) {
|
||||
this.multipleSelection = val;
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
@ -95,9 +95,9 @@
|
|||
console.log('selection: ', val);
|
||||
},
|
||||
|
||||
// multipleSelection(val) {
|
||||
// console.log('selection: ', val);
|
||||
// }
|
||||
multipleSelection(val) {
|
||||
console.log('selection: ', val);
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
@ -488,7 +488,7 @@
|
|||
|
||||
## 多选
|
||||
|
||||
<el-table :data="tableData3" selection-mode="multiple" style="width: 520px">
|
||||
<el-table :data="tableData3" selection-mode="multiple" style="width: 520px" @selectionchange="handleMultipleSelectionChange">
|
||||
<el-table-column type="selection" width="50"></el-table-column>
|
||||
<el-table-column inline-template property="date" label="日期" width="120">
|
||||
<div>{{ row.date }}</div>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"q": "^1.4.1",
|
||||
"uppercamelcase": "^1.1.0",
|
||||
"vue-loader": "^9.3.2",
|
||||
"vue": "^2.0.0-rc.1",
|
||||
"vue": "^2.0.0-rc.2",
|
||||
"vue-markdown-loader": "^0.4.0",
|
||||
"vue-popup": "^0.2.2",
|
||||
"vue-router": "^2.0.0-beta.2"
|
||||
|
|
Loading…
Reference in New Issue