guhongwei 4 years ago
parent
commit
21ca343334
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/hall/direct.vue

+ 3 - 0
src/views/hall/direct.vue

@@ -576,6 +576,9 @@ export default {
         var date = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
         var date = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
         val.date = date;
         val.date = date;
       }
       }
+      // 同时在线
+      let tszx = jioayi.data.filter(f => f.type == '0');
+      if (tszx) this.$set(this.statNum, `tszx`, tszx.length);
       this.$set(this, `lunboList`, jioayi.data.reverse());
       this.$set(this, `lunboList`, jioayi.data.reverse());
       // 展会动态结束
       // 展会动态结束
       let zxzd = await this.danceQuery({ dock_id: this.dock_id });
       let zxzd = await this.danceQuery({ dock_id: this.dock_id });