Commit 8bb292c5 by liuchenxi

update: bug修复

parent 7a036d0d
......@@ -89,8 +89,8 @@ export default {
this.loading = true;
const res = await getRequest('/memberTagGrade/gradeGroupListNew', {});
const { result = [] } = res.data;
this.tableList = result.result.filter(el => el.gradeName != '未消费');
this.consumeList = result.result.find(el => el.gradeName == '未消费');
this.tableList = result.result.filter(el => el.gradeName != '未消费') || [];
this.consumeList = result.result.find(el => el.gradeName == '未消费') || {};
this.loading = false;
},
async onChangeSwitch(item) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment