fix show data error
This commit is contained in:
@@ -378,8 +378,8 @@ const loadAdminInfo = async () => {
|
||||
const loadStats = async () => {
|
||||
try {
|
||||
const response = await adminStore.getStats()
|
||||
if (response && response.data.stats) {
|
||||
stats.value = response.data.stats
|
||||
if (response && response.data) {
|
||||
stats.value = response.data
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('加载系统统计失败:', error)
|
||||
|
||||
Reference in New Issue
Block a user