ming 1 год назад
Родитель
Сommit
a925558b06
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      assets/js/commonVue.js

+ 3 - 3
assets/js/commonVue.js

@@ -110,7 +110,7 @@ const App = {
     //获取栏目数据
     getColumnData() {
       var _this = this;
-      if (!localStorage.getItem('storeColumnList') || window.location.pathname == '/' || window.location.pathname == '/index.html') {
+      if (!localStorage.getItem('storeColumnList') || (window.location.pathname == '/'&&!this.dup) || window.location.pathname == '/index.html') {
         $.ajax({
           type: 'get',
           dataType: 'json',
@@ -134,10 +134,10 @@ const App = {
       }
       setTimeout(function () {
         _this.contentBoolean = true
-      }, 1500)
+      }, 900)
       setTimeout(function () {
         _this.footerBoolean = true
-      }, 2000)
+      }, 1000)
     },