xiebaomin пре 1 година
родитељ
комит
988494cc42
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/main/resources/static/js/index.js

+ 1 - 2
src/main/resources/static/js/index.js

@@ -376,8 +376,7 @@ var homeData = new Vue({
         // 快捷运营跳转
         goQuickOpera($event) {
             // 链接跳转
-            if (localStorage.getItem('userInfo')) return window.location.href = $event.link
-            else return window.location.href = '/login.html'
+            if ($event.link) window.location.href = $event.link
         },
     },
     created: function() {