From 5cc29f27cc0f7843f2063d3f46099294eba1f92d Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 17 六月 2024 17:05:32 +0800
Subject: [PATCH] api路径更换
---
src/views/dashboard/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index df4a797..18759fa 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -91,7 +91,7 @@
let _this = this
this.loading = true
dashboardApi.index().then(re => {
- let response = re.response
+ let response = re.data
_this.examPaperCount = response.examPaperCount
_this.questionCount = response.questionCount
_this.doExamPaperCount = response.doExamPaperCount
--
Gitblit v1.8.0