Commit 76e763c9 authored by Smile's avatar Smile

用户web等级日志

parent abdf6d95
......@@ -52,11 +52,14 @@ export default {
},
methods: {
formatLevelsDate(val) {
const item = this.levels.filter(item => val === item.value)[0]
console.log(val)
console.log('this.levels',this.levels)
const item = this.levels.filter(item => String(val) === item.value)[0]
console.log("item",item)
return this.locale === 'zh_CN' ? item.label : item.labelEn
},
formatOperateDate(val) {
const item = this.operateTypeList.filter(item => val === item.value)[0]
const item = this.operateTypeList.filter(item => String(val) === item.value)[0]
return this.locale === 'zh_CN' ? item.label : item.labelEn
},
async getList() {
......
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