This commit is contained in:
yj 2024-10-17 17:32:55 +08:00
commit d46b3027b9
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ const CurrentSpeakUserWindow: React.FC = () => {
switch (type) { switch (type) {
case 'currentSpeakUser': case 'currentSpeakUser':
if (currentSpeakUser.length) { if (currentSpeakUser.length) {
setInputValue(currentSpeakUser.join(',')) setInputValue(currentSpeakUser.join('; '))
} else { } else {
setInputValue('') setInputValue('')
} }
@ -22,8 +22,8 @@ const CurrentSpeakUserWindow: React.FC = () => {
return ( return (
<> <>
<div className={styles.currentSpeakUserWindow}> <div className={styles.currentSpeakUserWindow}>
<div title={inputValue ? `正在说话:${inputValue}` : '无人说话'}> <div title={inputValue ? `正在说话: ${inputValue}` : `正在说话:`}>
{inputValue ? `正在说话:${inputValue}` : '无人说话'} {inputValue ? `正在说话: ${inputValue}` : `正在说话:`}
</div> </div>
</div > </div >
</> </>