youyawu 4 년 전
부모
커밋
df10bbaf44
1개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 14
      src/api/dict.ts

+ 0 - 14
src/api/dict.ts

@@ -22,17 +22,3 @@ export const getDict = async () => {
   });
   return data;
 };
-
-// export const getDict = async (dictType: string) => {
-//   const rel: IDict[] = [{ key: "请选择", value: "" }];
-//   const [err, { list = [] }] = await post<{ list: IAny[] }>("/common/dict", {
-//     dictType
-//   });
-//   if (err) return rel;
-//   return rel.concat(
-//     list.map((x: any) => ({
-//       key: x.dictLabel,
-//       value: x.dictValue
-//     }))
-//   );
-// };