Commit cf69e42c by ext.wangyuman1

订单

1 parent 9ecca5fd
...@@ -561,7 +561,7 @@ export default { ...@@ -561,7 +561,7 @@ export default {
<el-table-column <el-table-column
label="订单金额(元)" label="订单金额(元)"
align="center" align="center"
prop="address" prop="totalPrice"
width="180" width="180"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
......
...@@ -290,8 +290,10 @@ export default { ...@@ -290,8 +290,10 @@ export default {
this.loading = true this.loading = true
getList(this.query) getList(this.query)
.then(({ rows, total }) => { .then(({ rows, total }) => {
if (rows[0]) {
rows[0].isFirst = true rows[0].isFirst = true
rows[rows.length - 1].isLast = true rows[rows.length - 1].isLast = true
}
this.list = rows this.list = rows
this.total = Number(total) this.total = Number(total)
this.loading = false this.loading = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!