ming 1 rok temu
rodzic
commit
e7f736040a
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      assets/js/commonVue.js

+ 3 - 1
assets/js/commonVue.js

@@ -93,7 +93,6 @@ var app = new Vue({
       }).done(function (res) {
         _this.columnList = res.data;
         _this.currentPath = window.location.pathname;
-        _this.loading = false;
         for (let i = 0; i < res.data.length; i++) {
 
           //栏目处理        
@@ -142,6 +141,9 @@ var app = new Vue({
               dataType: 'json',
               url: window.FQDN + 'Index/index',
             }).done(function (res) {
+              // setTimeout(()=>{
+              _this.loading = false;
+              // },100)
               _this.homeList = res
               _this.status = true
             }).fail(function (err) {});