You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

66 lines
1.8 KiB

<template>
<el-table :data="tableData" >
<el-table-column prop="date" label="Date" width="150"></el-table-column>
<el-table-column label="Delivery info">
<el-table-column prop="name" label="Name" width="150"></el-table-column>
<el-table-column label="Address info">
<el-table-column prop="state" label="State" width="150"></el-table-column>
<el-table-column prop="city" label="City" width="150"></el-table-column>
<el-table-column prop="address" label="Address" width="300"></el-table-column>
<el-table-column prop="zip" label="Zip" width="150"></el-table-column>
</el-table-column>
</el-table-column>
</el-table>
</template>
<script>
export default {
name: "Table_Demo7",
data() {
return {
tableData: [
{
date: '2016-05-03',
name: 'Tom',
state: 'California',
city: 'Los Angeles',
address: 'No. 189, Grove St, Los Angeles',
zip: 'CA 90036',
tag: 'Home',
},
{
date: '2016-05-02',
name: 'Tom',
state: 'California',
city: 'Los Angeles',
address: 'No. 189, Grove St, Los Angeles',
zip: 'CA 90036',
tag: 'Office',
},
{
date: '2016-05-04',
name: 'Tom',
state: 'California',
city: 'Los Angeles',
address: 'No. 189, Grove St, Los Angeles',
zip: 'CA 90036',
tag: 'Home',
},
{
date: '2016-05-01',
name: 'Tom',
state: 'California',
city: 'Los Angeles',
address: 'No. 189, Grove St, Los Angeles',
zip: 'CA 90036',
tag: 'Office',
},
]
}
}
}
</script>
<style scoped>
</style>