From 8c951ec8a4f87b30092ec28c20ea9910e2598698 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Thu, 2 Nov 2023 15:41:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/config.js b/common/config.js index a42a668..f3e6af6 100644 --- a/common/config.js +++ b/common/config.js @@ -1,2 +1,3 @@ -export const $apiLinks = "https://admin.hezhiying.com.cn/" // api 接口地址 -export const baseUrl = "https://admin.hezhiying.com.cn/" \ No newline at end of file +let url = `${window.location.origin}/` +export const $apiLinks = url // api 接口地址 +export const baseUrl = url \ No newline at end of file