This commit is contained in:
2024-07-03 11:01:21 +08:00
parent 7d547bfc14
commit e61de6516b

View File

@@ -108,7 +108,9 @@ onMounted(init)
<n-button v-if="canWriteMessage" @click="toggleBox(!showBox)"> <n-button v-if="canWriteMessage" @click="toggleBox(!showBox)">
{{ showBox ? "关闭" : "打开" }}文本框 {{ showBox ? "关闭" : "打开" }}文本框
</n-button> </n-button>
<n-button v-if="canWriteMessage" @click="sendMessage">发送消息</n-button> <n-button v-if="canWriteMessage && showBox" @click="sendMessage">
发送消息
</n-button>
</n-flex> </n-flex>
<TextEditor <TextEditor
title="" title=""