소스 검색

Update index.vue

wenjianzhang 4 년 전
부모
커밋
af15c5b8c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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() {