Browse Source

细节处理

zouzs 1 week ago
parent
commit
41ab989ba0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/system/dict/dictData.vue

+ 6 - 1
src/views/system/dict/dictData.vue

@@ -124,7 +124,12 @@ const tableConfig: PlusColumn[] = [
   {
   {
     label: "字典标签",
     label: "字典标签",
     prop: "dictLabel",
     prop: "dictLabel",
-    valueType: "input"
+    valueType: "tag",
+    fieldProps: (value: string, row) => {
+      return {
+        type: row.row.listClass
+      };
+    }
   },
   },
   {
   {
     label: "字典键值",
     label: "字典键值",