Browse Source

快捷运营bug更新

xiebaomin 1 năm trước cách đây
mục cha
commit
988494cc42
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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() {