no message

Former-commit-id: fcbbaa6bdd0990ee675bc58ccba618052578a296
Former-commit-id: d20c851d2cb14e2d30f86043d5ac912b7a1eb9fd
Former-commit-id: d3e8744636eb85d358decb65b2371ca552ad5d63
This commit is contained in:
李杨
2018-03-26 20:06:39 +08:00
parent adbf430e68
commit be12b653f9

View File

@@ -7,18 +7,17 @@
<el-table-column prop="id" label="id" width="50" align="center"></el-table-column>
<el-table-column prop="name" label="姓名" width="100">
<template slot-scope="scope">
<el-input v-bind="inputSetting" placeholder="姓名"></el-input>
<el-input v-bind="inputSetting" placeholder="姓名" :ref="`${scope.$index}${scope.column.property}`"></el-input>
</template>
</el-table-column>
<el-table-column prop="address1" label="出生地" align="center">
<template slot-scope="scope">
<el-input v-bind="inputSetting" placeholder="出生地"></el-input>
<el-input v-bind="inputSetting" placeholder="出生地" :ref="`${scope.$index}${scope.column.property}`"></el-input>
</template>
</el-table-column>
<el-table-column prop="address2" label="现居地" align="center">
<template slot-scope="scope">
<el-input v-bind="inputSetting" placeholder="现居地">
</el-input>
<el-input v-bind="inputSetting" placeholder="现居地" :ref="`${scope.$index}${scope.column.property}`"></el-input>
</template>
</el-table-column>
</el-table>
@@ -49,6 +48,7 @@ export default {
mounted () {
// 自动请求数据
this.getData()
console.log(this.$refs)
},
methods: {
// 请求数据