zouzs 1 долоо хоног өмнө
parent
commit
41ab989ba0

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

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