Commit f345236c authored by Smile's avatar Smile Committed by wux

用户web等级日志

parent db5b3c86
...@@ -52,11 +52,14 @@ export default { ...@@ -52,11 +52,14 @@ export default {
}, },
methods: { methods: {
formatLevelsDate(val) { 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 return this.locale === 'zh_CN' ? item.label : item.labelEn
}, },
formatOperateDate(val) { 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 return this.locale === 'zh_CN' ? item.label : item.labelEn
}, },
async getList() { 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