|
@@ -15,7 +15,7 @@ if (!speech.hasBrowserSupport()) {
|
|
|
}
|
|
|
let state = localStorage.getItem('ttsState');
|
|
|
if (state == "1") {
|
|
|
- proxy?.$http.baiduToken.baiduToken({}).then((res: any) => {
|
|
|
+ proxy?.$http.common.baiduToken({}).then((res: any) => {
|
|
|
let tok = res.token;
|
|
|
localStorage.setItem('tok', tok);
|
|
|
});
|