seimin 1 ano atrás
pai
commit
ff8637f71e
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/views/Login.vue

+ 2 - 1
src/views/Login.vue

@@ -140,7 +140,8 @@ export default {
140 140
       //是否增加房间号选择
141 141
       var promise7 = this.$http.post("service/sysinfo/data/fetchDataList/systemConfiguration", {idx: 0, sum: 1, systemConfiguration: {keyconfig: 'ifRoom'}});
142 142
 
143
-      Promise.all([promise1, promise2, promise3, promise4, promise5, promise6, promise7]).then(([data1, data2, data3, data4, data5, data6, data7]) => {
143
+      Promise.all([promise1, promise2, promise3, promise4, promise5, promise6, promise7]).then((result) => {
144
+        let [data1, data2, data3, data4, data5, data6, data7] = result.data;
144 145
           if(data1.status == 200 && data2.status == 200 && data3.status == 200 && data4.status == 200 && data5.status == 200 && data6.status == 200 && data7.status == 200){
145 146
             var list1 = data1.list || [];
146 147
             var list2 = data2.list || [];