修復等級重複問題
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user