From d4648e14a2a25770a5b28c41b2ce17cd30fc6c10 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Sat, 11 Oct 2025 17:59:52 +0800 Subject: [PATCH] sc --- .env.base | 4 ++-- src/api/xjapplet/xjdatabase.js | 4 ++-- src/views/Question/Database/index.vue | 11 +++-------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.env.base b/.env.base index 57b5482..7769260 100644 --- a/.env.base +++ b/.env.base @@ -4,9 +4,9 @@ VITE_NODE_ENV=development VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://localhost:48080' -VITE_BASE_URL='http://47.98.161.246:48080' +# VITE_BASE_URL='http://47.98.161.246:48080' # VITE_BASE_URL='http://114.215.207.150:48080' # 上传路径 diff --git a/src/api/xjapplet/xjdatabase.js b/src/api/xjapplet/xjdatabase.js index beca1b2..dbd4933 100644 --- a/src/api/xjapplet/xjdatabase.js +++ b/src/api/xjapplet/xjdatabase.js @@ -54,9 +54,9 @@ export const getDuplicateQuesionList = async (params) => { }) } -export const deleteDuplicateQuestion = async (params) => { +export const deleteDuplicateQuestion = async (data) => { return await request.delete({ url: `admin-api/applet/xunjia/question/duplicate/delete`, - params + data }) } diff --git a/src/views/Question/Database/index.vue b/src/views/Question/Database/index.vue index d66f72c..5c7b3a1 100644 --- a/src/views/Question/Database/index.vue +++ b/src/views/Question/Database/index.vue @@ -170,7 +170,7 @@