From d3a5476064256802f9e0c0626bed6b8048e51bc0 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 13 十月 2023 17:37:00 +0800 Subject: [PATCH] 部分get请求获取返回数据修改 --- src/api/common/standard.js | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index f46e844..2dc9003 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,5 +1,6 @@ // import request from "@/common/untils/request.js" import axios from "axios" +import request from "@/common/untils/request"; //缂栫爜瑙勮寖鍒楄〃 // export function getCodeStandardList (data) { // return request({ @@ -9,7 +10,13 @@ // }); // } export function getCodeStandardList(data) { - return axios.get(`/api/code/getCodeList`, { + // return axios.get(`/api/code/getCodeList`, { + // params: data + // }) + + return request({ + url: "/api/code/getCodeList", + method: "get", params: data }) } -- Gitblit v1.8.0