Update vue-rc.2

pull/2/head
qingwei.li 2016-08-16 16:52:43 +08:00
parent c95b125762
commit cae2767cda
2 changed files with 8 additions and 8 deletions

View File

@ -85,9 +85,9 @@
this.singleSelection = val; this.singleSelection = val;
}, },
// handleMultipleSelectionChange(val) { handleMultipleSelectionChange(val) {
// this.multipleSelection = val; this.multipleSelection = val;
// } }
}, },
watch: { watch: {
@ -95,9 +95,9 @@
console.log('selection: ', val); console.log('selection: ', val);
}, },
// multipleSelection(val) { multipleSelection(val) {
// console.log('selection: ', val); console.log('selection: ', val);
// } }
} }
}; };
</script> </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 type="selection" width="50"></el-table-column>
<el-table-column inline-template property="date" label="日期" width="120"> <el-table-column inline-template property="date" label="日期" width="120">
<div>{{ row.date }}</div> <div>{{ row.date }}</div>

View File

@ -46,7 +46,7 @@
"q": "^1.4.1", "q": "^1.4.1",
"uppercamelcase": "^1.1.0", "uppercamelcase": "^1.1.0",
"vue-loader": "^9.3.2", "vue-loader": "^9.3.2",
"vue": "^2.0.0-rc.1", "vue": "^2.0.0-rc.2",
"vue-markdown-loader": "^0.4.0", "vue-markdown-loader": "^0.4.0",
"vue-popup": "^0.2.2", "vue-popup": "^0.2.2",
"vue-router": "^2.0.0-beta.2" "vue-router": "^2.0.0-beta.2"