Results 4 comments of yixianle

不是,是google的接口调整了,问题我已经修复了

默认 测试环境监听端口:3000, 生产环境:5000 http://localhost:3000/

目前还不行,接下来会支持

translate.getText 返回的是一个promise对象,你要在它的then方法中获取返回的结果,如下: translate.getText('hello world',{to: 'zh-CN'}).then(function(text){ console.log(text) });