Browse Source

mod: 更新注释

kailong321200875 1 year ago
parent
commit
12eca8fa18
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/hooks/web/useCrudSchemas.ts

+ 3 - 1
src/hooks/web/useCrudSchemas.ts

@@ -39,7 +39,9 @@ interface AllSchemas {
   detailSchema: DescriptionsSchema[]
 }
 
-// 过滤所有结构
+/**
+ * @deprecated 不推荐使用,感觉过于繁琐,不是很灵活 可能会在某个版本中删除
+ */
 export const useCrudSchemas = (
   crudSchema: CrudSchema[]
 ): {