- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 vue实现百度翻译API调用 翻译数组对象
import md5 from 'js-md5'; //需要翻译的数据格式 this.routerPropsUs = { "trackDetails":[ { "time":"2020-05-08 09:02", "event":"Out for Delivery", "eventCity":"NORTH WALES", "eventState":"PA" }, { "time":"2020-05-08 08:51", "e
2021-08-05 17:02:07 631
原创 vue实现百度语音播报API调用
vue实现百度语音播报API调用 //百度语音播报 Vue.prototype.$speckText = function(str) { var url = "http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=6&text=" + encodeURI(str); new Audio(url).play(); },
2021-08-05 16:30:53 1367
vue3 vite打包分如何解决?
2024-02-02
TA创建的收藏夹 TA关注的收藏夹
TA关注的人