From 0b6eaf96933d97b78e0980551b1c2a50921c34a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=96=E5=A7=90?= <2981176548@qq.com> Date: Wed, 10 Apr 2024 16:28:27 +0800 Subject: [PATCH] =?UTF-8?q?api=E4=BE=8B=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev_prod | 3 ++- src/api/article.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.dev_prod b/.env.dev_prod index 08f44b5..763fd92 100644 --- a/.env.dev_prod +++ b/.env.dev_prod @@ -3,4 +3,5 @@ NODE_ENV = 'development' # 开发模式连生产服 VUE_APP_BASE_API = '/api-prod' -VUE_APP_COOKIE = '' \ No newline at end of file +VUE_APP_COOKIE = '' +VUE_APP_APIII = 'http://nbxt.oa.x-lf.cn' \ No newline at end of file diff --git a/src/api/article.js b/src/api/article.js index e2783e4..fb3238a 100644 --- a/src/api/article.js +++ b/src/api/article.js @@ -1,5 +1,5 @@ import request from '@/utils/request'; - +const a = process.env.VUE_APP_APIII; export function fetchList(query) { return request({ url: '/vue-element-admin/article/list',