Commit 2f817496 authored by JinWei's avatar JinWei

fix: tts issue

parent 52ed4f92
......@@ -81,7 +81,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
async generateTTS(sentence: string): Promise<string> {
const commonPostMessageWithCallback = (window as any).commonPostMessageWithCallback;
if (typeof commonPostMessageWithCallback !== 'function') {
throw new Error('通信方法不可用');
}
......
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