tremble 2 năm trước cách đây
mục cha
commit
04602c3afd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/components/RTC/dialog/createdRoom.vue

+ 2 - 2
src/components/RTC/dialog/createdRoom.vue

@@ -30,10 +30,9 @@
 <script setup>
 import { useI18n, getLocale } from "@/i18n";
 import { ref } from "vue";
-
 const { t } = useI18n({ useScope: "global" });
+const name = ref('')
 
-const userName = ref('')
 </script>
 
 <script>
@@ -59,6 +58,7 @@ export default {
       store: useStore(),
       roomId: browser.getURLParam("roomId"),
       $t: this.t,
+      userName:this.name
     };
   },