Ver código fonte

fix:修复表格字段显示

duanyan 5 meses atrás
pai
commit
17c0bd714d
1 arquivos alterados com 3 adições e 2 exclusões
  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',