|
|
@@ -112,7 +112,7 @@ const fetchCategories = async () => {
|
|
|
}
|
|
|
const response = await categoryApi.getCategories(params)
|
|
|
categories.value = response.data.data
|
|
|
- pagination.value.total = response.data.data.total
|
|
|
+ pagination.value.total = response.data.total
|
|
|
} catch (error) {
|
|
|
ElMessage.error('获取分类列表失败')
|
|
|
} finally {
|