From 05ad174d5a7541825a9ba86e86da0c1b0794b1a2 Mon Sep 17 00:00:00 2001 From: zhumengyua Date: Thu, 15 Sep 2022 16:11:27 +0800 Subject: [PATCH] =?UTF-8?q?[fix-1.=E5=AF=BC=E8=88=AA=E5=B1=8F=E5=B9=95?= =?UTF-8?q?=E7=BC=A9=E5=B0=8F=E4=BC=9A=E6=8D=A2=E8=A1=8C=EF=BC=88=E6=9A=82?= =?UTF-8?q?=E5=AD=98=E8=A7=A3=E5=86=B3=E6=96=B9=E6=A1=88=EF=BC=9A=E8=BF=87?= =?UTF-8?q?=E4=BA=8E=E5=B0=8F=E7=9A=84=E6=97=B6=E5=80=99=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E4=B8=80=E9=83=A8=E5=88=86=E5=AF=BC=E8=88=AA=EF=BC=89=202.?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=AF=A6=E6=83=85=E9=A1=B5=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=BC=9A=E6=8A=A5=E4=B8=80=E4=B8=AA=E9=94=99=E5=B7=B2=E6=94=B9?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/comment/main.vue | 688 ++++++++++++++--------------- components/layouts/pc/header.vue | 666 ++++++++++++++-------------- config/api.config.js | 2 +- nuxt.config.js | 2 +- 4 files changed, 678 insertions(+), 680 deletions(-) diff --git a/components/common/comment/main.vue b/components/common/comment/main.vue index ef5ac4b..d96dc02 100644 --- a/components/common/comment/main.vue +++ b/components/common/comment/main.vue @@ -1,21 +1,21 @@ diff --git a/config/api.config.js b/config/api.config.js index 4c041d3..72c6f72 100644 --- a/config/api.config.js +++ b/config/api.config.js @@ -3,7 +3,7 @@ import {NODE_ENV} from '../environment' const apisMap = { development: { FE: 'http://localhost:3000', - BASE: 'http://localhost:8099/forest', + BASE: 'http://test.rymcu.com', CDN: '', PROXY: '/proxy', SOCKET: 'http://localhost:3000/ws', diff --git a/nuxt.config.js b/nuxt.config.js index 17f4ab4..bf0da89 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -79,7 +79,7 @@ export default { proxy: [ //proxy配置 ['/api', { target: apiConfig.BASE, //api请求路径 - pathRewrite: {'^/api': isDevMode ? '/api/v1' : '/api'} //重定向请求路径,防止路由、api路径的冲突 + pathRewrite: {'^/api': isDevMode ? '/api' : '/api'} //重定向请求路径,防止路由、api路径的冲突 }], ['/ws', { target: apiConfig.BASE //api请求路径