From 7a0f60e7e27d45a0abf3499be2d63aafaf4ba3ed Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 03 七月 2024 18:40:23 +0800
Subject: [PATCH] refactor:取消用户名长度限制
---
src/api/question.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/api/question.js b/src/api/question.js
index 7d983a9..27a3121 100644
--- a/src/api/question.js
+++ b/src/api/question.js
@@ -1,4 +1,4 @@
-import { post, download } from '@/utils/request'
+import { post, download, downloadPost } from '@/utils/request'
export default {
pageList: query => post('/api/admin/question/page', query),
@@ -6,5 +6,5 @@
select: id => post('/api/admin/question/select/' + id),
deleteQuestion: id => post('/api/admin/question/delete/' + id),
downloadImportTemplate: () => download('/api/admin/question/download/question/import/temp'),
- exportQuestion: query => download('/api/admin/question/question/export', query)
+ exportQuestion: query => downloadPost('/api/admin/question/question/export', query)
}
--
Gitblit v1.8.0