Commit 39076eda authored by Facius's avatar Facius

improve: 订单管理变量名修改

parent e0567df7
......@@ -85,7 +85,7 @@ export default {
finish: 'orderFinishDatetime',
}
},
currentSorttype() {
currentSorTtype() {
return this.sortType[this.orderType]
},
},
......@@ -132,8 +132,8 @@ export default {
this.orderList.push(...res.data.list)
this.orderList.sort((x, y) => {
return (x[this.currentSorttype] || 0) <
(y[this.currentSorttype] || 0)
return (x[this.currentSorTtype] || 0) <
(y[this.currentSorTtype] || 0)
? 1
: -1
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment