|
@@ -336,10 +336,10 @@ export default {
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {
|
|
|
- if (this.data.pinyin) {
|
|
|
- let MethodName = 'tool-PinyinToVoiceFile';
|
|
|
+ if (this.data.con) {
|
|
|
+ let MethodName = 'tool-TextToVoiceFile';
|
|
|
let datas = {
|
|
|
- pinyin: this.data.pinyin.split(' ').join(','),
|
|
|
+ text: this.data.con,
|
|
|
};
|
|
|
getLogin(MethodName, datas).then((res) => {
|
|
|
if (res.status === 1) {
|