Commit ed4296ee by haojie

修复新增互动列表无法更新音色的问题

parent 7ec3301a
......@@ -389,6 +389,9 @@ const onSave = async (status: boolean) => {
}
params.type = 1;
params.reply_content = tonesFile.value;
if (tonesValue.value) {
params.phonetic_timbres_id = tonesValue.value;
}
} else if (currentTab.value == '2') {
// 文本
// 音调,文字必填
......
......@@ -244,6 +244,7 @@ watch(
phoneticsInfo.value = {};
textareaValue.value = '';
currentOption.value = scriptTypeText;
scriptTypeChange(scriptTypeText + '');
},
);
......
......@@ -246,6 +246,7 @@ const currentModuleField = () => {
Object.keys(createLiveInfo.value).forEach((key: string) => {
if (it === key) {
let value = createLiveInfo.value[key];
console.log(value);
if (DataType(value) && !value.length) {
// 是数组
status = false;
......
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