소스 검색

fix:修复表格字段显示

duanyan 7 달 전
부모
커밋
17c0bd714d
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/views/system/dict/index.vue

+ 3 - 2
src/views/system/dict/index.vue

@@ -64,9 +64,10 @@ const formData = ref({
 
 });
 const columns = ref([
-    { title: '字典编号', dataIndex: 'id', align: 'center', width: 120 },
+    { title: '数据键值', dataIndex: 'value', align: 'center', width: 120 },
+    { title: '数据标签', dataIndex: 'label', align: 'center', width: 120 },
     { title: '字典名称', dataIndex: 'type_label', align: 'center', width: 120 },
-    { title: '字典类型', dataIndex: 'type_key', align: 'center', width: 120 },
+    { title: '字典类型', dataIndex: 'type_key', align: 'center', width: 150 },
     {
         title: '备注',
         dataIndex: 'remark',