修复订单不请求bug

This commit is contained in:
wangsongsole 2022-09-28 15:11:12 +08:00
parent 2b3a49cb77
commit 214e0ce6e9
1 changed files with 2 additions and 2 deletions

View File

@ -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