ming 1 年之前
父节点
当前提交
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)
     },