From 10ecfb675fbbcda195cc0c0a45a5982a6936eebd Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 17 Mar 2020 00:24:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96vcFramework?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/vcCore/vcFramework.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/vcCore/vcFramework.js b/public/vcCore/vcFramework.js index e18f785fa..3e7175e06 100644 --- a/public/vcCore/vcFramework.js +++ b/public/vcCore/vcFramework.js @@ -762,6 +762,10 @@ window.location.href = _header['location']; return; } + if(res.status == 404){ + window.location.href = '/user.html#/login'; + return; + } errorCallback(res.bodyText, res); } catch (e) { console.error(e); @@ -804,6 +808,10 @@ return; } + if(res.status == 404){ + window.location.href = '/user.html#/login'; + return; + } errorCallback(res.bodyText, res); } catch (e) { console.error(e);