Explorar o código

Update index.vue

wenjianzhang %!s(int64=4) %!d(string=hai) anos
pai
achega
af15c5b8c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/dict/index.vue

+ 1 - 1
src/views/dict/index.vue

@@ -233,7 +233,7 @@ export default {
     },
     // 字典状态字典翻译
     statusFormat(row, column) {
-      return this.selectDictLabel(this.statusOptions, row.status)
+      return this.selectDictLabel(this.statusOptions, parseInt(row.status))
     },
     // 取消按钮
     cancel() {