From a3c0ef4e6ea99a4ca53da3ed3f7991fb394465ef Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Sat, 22 Jul 2023 16:08:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=BB=9C=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 3 +++ public/index.html | 1 + src/api/home.js | 22 +++++++++++----------- src/utils/request.js | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 public/config.js diff --git a/public/config.js b/public/config.js new file mode 100644 index 0000000..b09f69c --- /dev/null +++ b/public/config.js @@ -0,0 +1,3 @@ +window.publicConfig={ + BASE_API:"http://192.168.66.16/api" +} diff --git a/public/index.html b/public/index.html index ef74b71..3dcce0f 100644 --- a/public/index.html +++ b/public/index.html @@ -10,6 +10,7 @@ +