Commit 8fabbb42 authored by 杨思琦's avatar 杨思琦

fix: 播报语音修改

parent 986e4d25
Pipeline #77932 passed with stages
......@@ -490,13 +490,13 @@ class Notifier {
this.speak(msg);
};
speakDefault = message => {
let msg = `${message.title},${message.title}: ${message.infoContent ?? ''}`
let msg = replaceSpeak(`${message.title},${message.title}: ${message.infoContent ?? ''}`)
this.speak(msg);
};
speakWebVoice = message => {
const { webVoice } = message;
if(typeof webVoice === "string") {
this.speak(webVoice?.replace(/_/g, ','));
this.speak(replaceSpeak(webVoice.replace(/_/g, ',')));
}
}
speak = msg => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment