|
@@ -72,12 +72,17 @@ export default {
|
|
|
this.status = obj.status;
|
|
|
this.statusStr = obj.statusStr;
|
|
|
},
|
|
|
- initData() {},
|
|
|
+ initData() {
|
|
|
+ this.text = ``;
|
|
|
+ this.status = "UNDEFINED";
|
|
|
+ this.statusStr = "立即合成";
|
|
|
+ this.blob = null;
|
|
|
+ },
|
|
|
closed() {
|
|
|
- this.ttsVoice.ttsWS?.close();
|
|
|
+ this.ttsVoice?.reset();
|
|
|
},
|
|
|
cancel() {
|
|
|
- this.ttsVoice.ttsWS?.close();
|
|
|
+ this.ttsVoice?.reset();
|
|
|
this.modalIsShow = false;
|
|
|
},
|
|
|
open() {
|