From f8849f7028fed4435ef4831f791c2ceaec95648e Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 06 十一月 2023 14:38:44 +0800 Subject: [PATCH] 新建仓库添加多个产品修复 --- src/api/common/other.js | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 08db148..733ab2b 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -1,9 +1,11 @@ // import request from "@/common/untils/request.js" -import axios from "axios" +import request from "@/common/untils/request"; // 鏌ヨ鍏徃鍒楄〃 -export const getCompanyList = async (data) => { - return await axios.get(`/api-wms/v1/company/company`, { +export const getCompanyList = (data) => { + return request({ + url: "/api-wms/v1/company/company", + method: "get", params: data }) } -- Gitblit v1.8.0