Commit f33d5a3b authored by zhengke's avatar zhengke

修改

parent fe7f9e85
......@@ -72,7 +72,7 @@
const methods = {
play(src) {
if(src){
innerAudioContext.src=src;
innerAudioContext.src=encodeURI(src);
}else{
innerAudioContext.src =
`https://fanyi.baidu.com/gettts?lan=jp&text=${encodeURIComponent(props.item.WordContent)}&spd=3&source=web`
......
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