wxy 4 年之前
父節點
當前提交
d11f8e1d24
共有 1 個文件被更改,包括 3 次插入0 次删除
  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) {