Explorar o código

Merge branch 'master' of http://git.izouma.com/panhui/lasuo_nft_front

panhui %!s(int64=3) %!d(string=hai) anos
pai
achega
702ead979a
Modificáronse 2 ficheiros con 0 adicións e 13 borrados
  1. 0 7
      src/views/Home.vue
  2. 0 6
      src/views/Mine.vue

+ 0 - 7
src/views/Home.vue

@@ -316,15 +316,8 @@ export default {
         let that = this;
         // that.getList();
         that.getBanner();
-        // location.reload()
         // that.getUser();
     },
-    noReloaded: function () {
-        if (location.href.indexOf('#reloaded') == -1) {
-            location.href = location.href + '#reloaded';
-            window.location.reload();
-        }
-    },
     activated() {
         this.$nextTick(() => {
             this.changeScroll(this.scrollTop);

+ 0 - 6
src/views/Mine.vue

@@ -265,12 +265,6 @@ export default {
         //         this.$el.parentNode.childNodes[1].className.replace(/ bgBack/, '') + ' bgBack';
         // });
     },
-    noReloaded: function () {
-        if (location.href.indexOf('#reloaded') == -1) {
-            location.href = location.href + '#reloaded';
-            window.location.reload();
-        }
-    },
     methods: {
         // 复制
         copy() {