seimin 1 rok temu
rodzic
commit
1a8d6e53d0
1 zmienionych plików z 5 dodań i 3 usunięć
  1. 5 3
      src/views/Login.vue

+ 5 - 3
src/views/Login.vue

@@ -141,7 +141,9 @@ export default {
141 141
       var promise7 = this.$http.post("service/sysinfo/data/fetchDataList/systemConfiguration", {idx: 0, sum: 1, systemConfiguration: {keyconfig: 'ifRoom'}});
142 142
 
143 143
       Promise.all([promise1, promise2, promise3, promise4, promise5, promise6, promise7]).then((result) => {
144
-        let [data1, data2, data3, data4, data5, data6, data7] = result.data;
144
+          console.log(result);
145
+          // let [data1, data2, data3, data4, data5, data6, data7] = result.data;
146
+          return;
145 147
           if(data1.status == 200 && data2.status == 200 && data3.status == 200 && data4.status == 200 && data5.status == 200 && data6.status == 200 && data7.status == 200){
146 148
             var list1 = data1.list || [];
147 149
             var list2 = data2.list || [];
@@ -177,8 +179,8 @@ export default {
177 179
               color: "red"
178 180
             }).show();
179 181
           }
180
-      }).catch(() => {
181
-          console.log('Some request failed...');
182
+      }).catch((err) => {
183
+          console.log(err);
182 184
           this.$createDialog({
183 185
             type: "alert",
184 186
             title: "系统配置错误!",