Browse Source

fix:mac地址修改

chenzhen2 1 year ago
parent
commit
99a7b19795

File diff suppressed because it is too large
+ 1 - 1
dist/sgipad/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/sgipad/static/css/chunk-55deed42.25e857cd.css


BIN
dist/sgipad/static/css/chunk-155bb288.6fe33d40.css.gz


BIN
dist/sgipad/static/css/chunk-55deed42.25e857cd.css.gz


BIN
dist/sgipad/static/css/chunk-58d269ce.3926f574.css.gz


File diff suppressed because it is too large
+ 1 - 1
dist/sgipad/static/css/chunk-58d269ce.3926f574.css


BIN
dist/sgipad/static/css/chunk-fa1bba70.76a5bd8a.css.gz


File diff suppressed because it is too large
+ 0 - 2
dist/sgipad/static/js/app.93735aa9.js


BIN
dist/sgipad/static/js/app.93735aa9.js.gz


File diff suppressed because it is too large
+ 0 - 1
dist/sgipad/static/js/app.93735aa9.js.map


File diff suppressed because it is too large
+ 2 - 0
dist/sgipad/static/js/app.e8fe2cc9.js


BIN
dist/sgipad/static/js/app.e8fe2cc9.js.gz


File diff suppressed because it is too large
+ 1 - 0
dist/sgipad/static/js/app.e8fe2cc9.js.map


File diff suppressed because it is too large
+ 3 - 3
dist/sgipad/static/js/chunk-55deed42.b95945d9.js


BIN
dist/sgipad/static/js/chunk-155bb288.8432436c.js.gz


File diff suppressed because it is too large
+ 1 - 0
dist/sgipad/static/js/chunk-155bb288.8432436c.js.map


BIN
dist/sgipad/static/js/chunk-55deed42.b95945d9.js.gz


File diff suppressed because it is too large
+ 0 - 1
dist/sgipad/static/js/chunk-55deed42.b95945d9.js.map


File diff suppressed because it is too large
+ 0 - 2
dist/sgipad/static/js/chunk-58d269ce.8fa0a883.js


BIN
dist/sgipad/static/js/chunk-58d269ce.8fa0a883.js.gz


File diff suppressed because it is too large
+ 0 - 1
dist/sgipad/static/js/chunk-58d269ce.8fa0a883.js.map


File diff suppressed because it is too large
+ 2 - 0
dist/sgipad/static/js/chunk-fa1bba70.e3d115ad.js


BIN
dist/sgipad/static/js/chunk-fa1bba70.e3d115ad.js.gz


File diff suppressed because it is too large
+ 1 - 0
dist/sgipad/static/js/chunk-fa1bba70.e3d115ad.js.map


+ 0 - 3
src/utils/https.ts

@@ -76,9 +76,6 @@ export const getUrlParams = (key: any = 'accessToken') => {
     }
   }
   let token: string = theRequest[key] || ''
-  if (token == 'null') {
-    token = ''
-  }
   return token
 }
 

+ 1 - 1
src/views/envmonitor/index.vue

@@ -420,7 +420,7 @@ export default defineComponent({
   },
   beforeRouteEnter(to, from, next) {
     let mac: any = getCookieMac();
-    if (mac && mac !== "null") {
+    if (mac && mac != "null") {
       next();
     } else {
       next("/error");

+ 1 - 1
src/views/home/index.vue

@@ -107,7 +107,7 @@ export default defineComponent({
     console.log(to);
     console.log(from);
     let mac: any = getCookieMac();
-    if (mac && mac !== "null") {
+    if (mac && mac != "null") {
       if (to.query.type !== "logoOut") {
         next((e: any) => {
           console.log(e);