fix: data error

This commit is contained in:
root 2025-07-11 00:47:40 +08:00
parent 276e6c9765
commit 49b46e8fc1
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ const ResourceCategoryPage: React.FC = () => {
try {
setLoading(true)
const response = await ResourceCategoryService.getAllCategories()
console.log(`loadCategories`, response)
if (response.status && response.data) {
setCategories(response.data)
} else {