diff --git a/src/views/modules/api/imgconfig.vue b/src/views/modules/api/imgconfig.vue index 07d251d..94f2285 100644 --- a/src/views/modules/api/imgconfig.vue +++ b/src/views/modules/api/imgconfig.vue @@ -103,10 +103,10 @@ export default { }).catch(() => {}) }, imgTypeFormat (row, column) { - if (row.imgType === '0') { - return '志愿者咨询热线' - } else { - return ' ' + for (var property in this.optionImgType) { + if (row.imgType === this.optionImgType[property].dictValue) { + return this.optionImgType[property].dictName + } } } }