This commit is contained in:
杨航
2025-09-25 08:47:46 +08:00
parent 65ce325c12
commit 7c6d08514b
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -711,7 +711,7 @@
<style lang="scss">
.ai-answer {
width: 100%;
// overflow: hidden;
overflow: hidden;
margin-bottom: 20rpx;
.user-info {
+7 -3
View File
@@ -113,9 +113,13 @@
adjustPosition: {
default: false,
type: Boolean
}
},
formatType: {
default: 'mp3',// 生成语音文件类型
type: String
},
});
const { isDisabled, onlyVoice, adjustPosition } = toRefs(props);
const { isDisabled, onlyVoice, adjustPosition, formatType } = toRefs(props);
const isLoadingState = computed(() => props.isLoading);
const showTalkingModel = ref(false);
@@ -225,7 +229,7 @@
const startRecord = () => {
isStartNum.value += 1;
unref(recordObjCom).start({
format: 'mp3'
format: formatType.value
});
};
+1 -1
View File
@@ -249,7 +249,6 @@
// 继续学习 获取学习历史接口
// 滚动到最下面
scrollToBottomNow()
isContinue.value = 'Y'
sendMessage({
commond: 'STDY',
body: {
@@ -269,6 +268,7 @@
}
}
} catch {} finally {
isContinue.value = 'Y'
watchFlag.value += 1
}
}