wuhongyu il y a 5 ans
Parent
commit
7a346c3b5c
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  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;
     },
   },
 };