diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 884882a..9892a18 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -855,15 +855,12 @@ export default { levelList() { getGiftLevelList().then(res => { let data = res.data; - this.giftLevel = [{ - text: '无', - value: '' - }].concat(data.map(e => { + this.giftLevel = data.map(e => { return { text: e.levelName, value: e.levelValue }; - })); + }); buildSelectOption('#giftLevel', '', this.giftLevel); buildSelectOption('#searchLevel', '', this.giftLevel); });