修复订单不请求bug
This commit is contained in:
parent
2b3a49cb77
commit
214e0ce6e9
|
@ -76,7 +76,7 @@
|
|||
},
|
||||
|
||||
created () {
|
||||
|
||||
this.getOrderList()
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
@ -123,7 +123,7 @@
|
|||
},
|
||||
|
||||
/* 请求订单数据 */
|
||||
getOrderLIst () {
|
||||
getOrderList () {
|
||||
const key = sessionStorage.getItem('key')
|
||||
req.axiosGet(`/key/order/${key}`, { page: this.page, limit: this.limit }).then(({ data, code }) => {
|
||||
if (code === 200) this.orderList = data
|
||||
|
|
Loading…
Reference in New Issue