|
@@ -11,6 +11,7 @@
|
|
|
<!-- 控制条 start -->
|
|
|
<div class="controlBar" v-if="!showInput">
|
|
|
<div
|
|
|
+ v-if="connectStatus === 1"
|
|
|
class="saySomething"
|
|
|
@click="onFocus"
|
|
|
:class="{ disabled: !inputStatus && !isNativeLeader }"
|
|
@@ -26,8 +27,8 @@
|
|
|
:class="{ dis: !chatShow }"
|
|
|
></div>
|
|
|
</div>
|
|
|
- <!-- <div style="text-align: right; width: 100%">连接中...</div> -->
|
|
|
- <div class="control_btn">
|
|
|
+ <div style="text-align: right; width: 100%" v-if="connectStatus === 0">连接中...</div>
|
|
|
+ <div class="control_btn" v-if="connectStatus === 1">
|
|
|
<div
|
|
|
class="brushesBack"
|
|
|
@click="onDrawUndo"
|
|
@@ -163,6 +164,7 @@
|
|
|
const animateActive = ref(false);
|
|
|
const showMember = ref(false);
|
|
|
// const disableMic = ref(false);
|
|
|
+ const connectStatus = computed(() => rtcStore.connectStatus);
|
|
|
const isJoined = computed(() => rtcStore.isJoined);
|
|
|
const role = computed(() => rtcStore.role);
|
|
|
const text = ref<string>('');
|