From cc885752ad67eb744aa6eda83cd95b6198dc12d7 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 2 Nov 2022 17:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E8=80=85=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/logo-white.png | Bin 0 -> 19229 bytes src/router/index.js | 2 +- src/views/devLogin.vue | 191 ++++++++++++++++------------------ 3 files changed, 88 insertions(+), 105 deletions(-) create mode 100644 src/assets/img/logo-white.png diff --git a/src/assets/img/logo-white.png b/src/assets/img/logo-white.png new file mode 100644 index 0000000000000000000000000000000000000000..96be788f9b7ee3287796bb4bba99db2309282f76 GIT binary patch literal 19229 zcmeI4dpOf={KvnWIfsx#q!vYJW@8Rxh$(s^Im|k!%{DA-GUrl5M@mWcIOjrAUQDq<*85XZ7s&{7%>JpY6JA-_QNIKkxhgzV7?;*?sN0zV^Afu8@<_ zkO2Td&e;j;4geq=|JqGTg8yzG=VQSCkPdNL%K!jb<*7dqkddVh0G1D_p7=1l%PKU9 z9&AJ;(|svMQNbbn-T+{28x=w%1yaJGz7&5d4Ws?`O0_nWO2%k=qg;$#LL4XoRHv9w zibssACn+Y7WJ%VxwUM!oLh}WJDPcrtRB#ZDfsVpxPwS%j*Hg`KZRm8Dut1FVvZ(=~ zco#RQ13i=iMH!)BBx8gr)ZEetfkK#CAeKUr#t0L*u?ZYu0z)9t#+GOV3i|D(Z6m|K zvJNHtq1~~|zYWK?FxmlOVIgQZJTfxUDAL4;9_kNASXx@bjgfF962|WVV?@)!h*2;a zL+7i=cO5K+K?LIB#*R-B9z_g+BaDpU zzY8Lhe#C@?hXzegjZA`5f+)chS{Q>Lhxlz=NB}*I&Iq9Y!;nAR|2QyzOLmMM!YRu>MN%k8B+(pZiL&&A zS(=z4V3xk7rZ8VWvY!Rn&(DNniu^7;Bm5WX)uB{=ks}7p=r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W&`bnnw? z%N*4Mbo}kA90CouT`OAJdI2UExesB)CSa^D7P6g(oeAM{80mobfr5?!p8jGfDSS1A zC9nAc+|<1?;lVRT^Q_Ud_Si4u_N!&uEVEa<@Je9rMz=kSJ5wHa%hF`*n&fLlX?`GU z!s;B%J!;GXH~9#2FjHpx9!?`a1^PV*;g)@mxom~2cT6$we0t~&qb*A&XWfK=l2omA zN~88i-)b?R!w%hDyjWeOEAUHojNbiKMRuBnOfOEKBu+vuSbT#P@8L?v1f4{&%xF~e zIr>BS#${ILod@a-@(GwyMs#{@q9yvy@Xno1j>R;TEIx0(1B8tO5qx61izNs9T4bGpS{X{awT>6(U$8aH{zHh%Y(hJ z*k|HbN|Cg1C_#>WU?2a-0w`W=o>Yl~w_VKUI)jXYy?dD>x0jc^RW{LurU9?!K|A+JGx@e*%RXb1HdyjCIA2c literal 0 HcmV?d00001 diff --git a/src/router/index.js b/src/router/index.js index 653bf6d..7fb67e0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -245,7 +245,7 @@ router.beforeEach(function(to, from, next) { // 根据路由元信息设置文档标题 window.document.title = to.meta.title || '中台'; //使用钩子函数对路由进行权限跳转 - const login = location.href.includes('dev.huorantech.cn') ? '/devLogin' : '/login' + const login = location.href.includes('192.168.31.126:') ? '/devLogin' : '/login' if (!sessionStorage.getItem('token') && to.path !== login && to.path !== '/join' && to.path !== '/success') { next(login); } else { diff --git a/src/views/devLogin.vue b/src/views/devLogin.vue index 937c046..3ab7411 100644 --- a/src/views/devLogin.vue +++ b/src/views/devLogin.vue @@ -1,74 +1,65 @@