From 0a9d8e014803308c2eef22ca1e83c50d4086b37d Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 17 五月 2024 10:47:26 +0800
Subject: [PATCH] fix:上传类型限制
---
src/api/dashboard.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/api/dashboard.js b/src/api/dashboard.js
index 40292f8..bbd6429 100644
--- a/src/api/dashboard.js
+++ b/src/api/dashboard.js
@@ -2,8 +2,7 @@
export default {
index: () => post('/api/admin/dashboard/index'),
- getData: query => get('/api/admin/examPaperAnswer/statistic', query),
- getData: query => get('/api/admin/examPaperAnswer/statistic', query),
+ getData: query => post('/api/admin/examPaperAnswer/statistic', query),
examPaperList: query => get('/api/admin/exam/paper/list', query),
page: query => post('/api/admin/examPaperAnswer/page', query)
}
--
Gitblit v1.8.0