Преглед изворни кода

fix:修复表格字段显示

duanyan пре 5 месеци
родитељ
комит
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',