Jelajahi Sumber

细节处理

zouzs 1 Minggu lalu
induk
melakukan
41ab989ba0
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  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: "字典标签",
     prop: "dictLabel",
-    valueType: "input"
+    valueType: "tag",
+    fieldProps: (value: string, row) => {
+      return {
+        type: row.row.listClass
+      };
+    }
   },
   {
     label: "字典键值",