wuhongyu пре 5 година
родитељ
комит
7a346c3b5c
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      src/layout/market/context.vue
  2. 1 1
      src/layout/market/zhuanjia.vue

+ 1 - 0
src/layout/market/context.vue

@@ -160,6 +160,7 @@ export default {
           this.$set(this, `room`, res.data);
         }
       }
+      this.dialogTableVisible = true;
     },
   },
 };

+ 1 - 1
src/layout/market/zhuanjia.vue

@@ -109,7 +109,6 @@ export default {
     },
 
     async btnPhone() {
-      this.dialogTableVisible = true;
       console.log(this.room.id);
       if (!this.room.id) {
         //TODO 请求房间号
@@ -135,6 +134,7 @@ export default {
           this.$set(this, `room`, res.data);
         }
       }
+      this.dialogTableVisible = true;
     },
   },
 };