瀏覽代碼

Merge branch 'dev' of https://github.com/go-admin-team/go-admin-ui into dev

zhangwenjian 4 年之前
父節點
當前提交
0c45496164
共有 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) {
     statusFormat(row, column) {
-      return this.selectDictLabel(this.statusOptions, row.status)
+      return this.selectDictLabel(this.statusOptions, parseInt(row.status))
     },
     },
     // 取消按钮
     // 取消按钮
     cancel() {
     cancel() {