perf: error show

This commit is contained in:
archer
2023-05-15 22:27:54 +08:00
parent e7d3a8e2e1
commit 371e0e36c6
10 changed files with 60 additions and 39 deletions

View File

@@ -89,6 +89,7 @@ export const formatTimeToChatTime = (time: Date) => {
return target.format('YYYY/M/D');
};
export const hasVoiceApi = typeof window !== 'undefined' && 'speechSynthesis' in window;
/**
* voice broadcast
*/