From 84a34baa12867fbb277d68bc2f393348fc3b2c59 Mon Sep 17 00:00:00 2001 From: yma16 <17685043634@163.com> Date: Tue, 3 May 2022 00:55:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=94=A8=E5=8C=96=E5=90=8D=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=96=87=E6=A1=88=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/App.vue | 154 ++++++++++++++++++++------------------ src/components/Login.vue | 2 +- src/store/modules/user.js | 39 +++++----- 4 files changed, 107 insertions(+), 90 deletions(-) diff --git a/config/index.js b/config/index.js index 0a216ba..4e9eef4 100644 --- a/config/index.js +++ b/config/index.js @@ -20,7 +20,7 @@ module.exports = { }, }, "/ws_api/": { - target: "ws://114.116.52.53/", + target: "ws://yongma16.xyz/", ws: true, //接受websocket请求 changeOrigin: true, //是否允许跨越 chunkOrigins: true, diff --git a/src/App.vue b/src/App.vue index 0b55c36..d877b71 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,12 @@ - + stay hungry echarts @@ -129,153 +134,160 @@