From f4e16574bf1c0fc3c83a653accd88b80569732e8 Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.coom> Date: Fri, 29 May 2020 17:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E8=8E=B7=E5=8F=96=20?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=85=8D=E7=BD=AE=E7=9A=84=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=20=E4=B8=AD=E6=96=87=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/api/imgconfig.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 + } } } }