Commit 477fa945 by 李伟康

commit

1 parent 0b10f127
......@@ -130,7 +130,7 @@ export default {
name: '',
flag: false,
tabIndex: 0,
pageNum: 0,
pageNum: 1,
total: 0,
list: [],
showQr: false,
......@@ -145,8 +145,14 @@ export default {
},
methods: {
getList () {
let { uuid } = this.getLocalStorage('dj_scrm_userInfo')
let { pageNum, tabIndex, list, name } = this
giftApi.getGiftList({ pageNum, name, receivedFlag: tabIndex == 0 ? 1 : 2 }).then(res => {
giftApi.getGiftList({
pageNum,
name,
receivedFlag: tabIndex == 0 ? 1 : 2,
staffUUID: uuid
}).then(res => {
this.hideLoading()
this.flag = true
this.list = list.concat(res.list)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!