瀏覽代碼

type: 修改类型错误

奔跑的面条 3 年之前
父節點
當前提交
077881e499
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/project/items/components/ProjectItemsList/hooks/useData.hook.ts

+ 1 - 1
src/views/project/items/components/ProjectItemsList/hooks/useData.hook.ts

@@ -27,7 +27,7 @@ export const useDataListInit = () => {
     const res = await projectListApi({
       page: paginat.page,
       limit: paginat.limit
-    }) as unknown as MyResponseType
+    }) as any
     if (res.data) {
       const { count } = res
       paginat.count = count