From 705bc39fc0e305402234f67fb36f1e53785a5f41 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Fri, 13 Dec 2019 10:44:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=8B=E5=85=AC=E5=B3=B0=EF=BC=9A=E5=B8=B8?= =?UTF-8?q?=E7=94=A8=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actphrase-add-or-update.vue | 4 ++-- src/views/modules/heart/actphrase.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/modules/heart/actphrase-add-or-update.vue b/src/views/modules/heart/actphrase-add-or-update.vue index ad3f0862..77fa0965 100644 --- a/src/views/modules/heart/actphrase-add-or-update.vue +++ b/src/views/modules/heart/actphrase-add-or-update.vue @@ -47,8 +47,8 @@ export default { updatedTime: '' }, showFlagArr: [ - { dictValue: 1, dictName: '是' }, - { dictValue: 0, dictName: '否' } + { dictValue: '1', dictName: '是' }, + { dictValue: '0', dictName: '否' } ] } }, diff --git a/src/views/modules/heart/actphrase.vue b/src/views/modules/heart/actphrase.vue index 118b139f..a6bc322f 100644 --- a/src/views/modules/heart/actphrase.vue +++ b/src/views/modules/heart/actphrase.vue @@ -69,7 +69,7 @@ export default { }, methods: { showFlagFormat (row, column) { - if (row.showFlag === 0) { + if (row.showFlag === '0') { return '否' } else { return '是'