Browse Source

王公峰:常用语

master
wanggongfeng 6 years ago
parent
commit
705bc39fc0
  1. 4
      src/views/modules/heart/actphrase-add-or-update.vue
  2. 2
      src/views/modules/heart/actphrase.vue

4
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: '否' }
]
}
},

2
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 '是'

Loading…
Cancel
Save