소스 검색

细节处理

zouzs 1 주 전
부모
커밋
41ab989ba0
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  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: "字典键值",