优化正在说话描述
This commit is contained in:
parent
ed04fd7643
commit
b8ccf34edb
|
|
@ -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 >
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue