Commit 14c8549a authored by Smile's avatar Smile Committed by wux

app积分会员页面修改

parent d38f1cd4
...@@ -106,8 +106,11 @@ export default { ...@@ -106,8 +106,11 @@ export default {
}, },
methods: { methods: {
formattedLevelData(value) { formattedLevelData(value) {
const item=this.levelData.filter(item => value==item.value)[0] if (value!=null){
return item[this.$lang.label]; const item=this.levelData.filter(item => value==item.value)[0]
return item[this.$lang.label];
}
return '';
}, },
getLevels () { getLevels () {
this.$request.getConfig('membership_levels').then(res => { this.$request.getConfig('membership_levels').then(res => {
......
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