wxy hace 4 años
padre
commit
d11f8e1d24
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/views/live/index.vue

+ 3 - 0
src/views/live/index.vue

@@ -66,6 +66,7 @@ export default {
     };
   },
   async created() {
+    await this.searchPlace();
     await this.searchList({ status: '0' });
     await this.searchList({ status: '1' });
     await this.searchList({ status: '2' });
@@ -87,6 +88,8 @@ export default {
           this.$set(this, `listPast`, res.data);
         }
       }
+    },
+    async searchPlace() {
       let res1 = await this.palcequery({ level: 1 });
       let arr = await this.palcequery({ level: 2 });
       if (res1 || arr) {