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"> <style lang="scss">
.ai-answer { .ai-answer {
width: 100%; width: 100%;
// overflow: hidden; overflow: hidden;
margin-bottom: 20rpx; margin-bottom: 20rpx;
.user-info { .user-info {
+7 -3
View File
@@ -113,9 +113,13 @@
adjustPosition: { adjustPosition: {
default: false, default: false,
type: Boolean 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 isLoadingState = computed(() => props.isLoading);
const showTalkingModel = ref(false); const showTalkingModel = ref(false);
@@ -225,7 +229,7 @@
const startRecord = () => { const startRecord = () => {
isStartNum.value += 1; isStartNum.value += 1;
unref(recordObjCom).start({ unref(recordObjCom).start({
format: 'mp3' format: formatType.value
}); });
}; };
+1 -1
View File
@@ -249,7 +249,6 @@
// 继续学习 获取学习历史接口 // 继续学习 获取学习历史接口
// 滚动到最下面 // 滚动到最下面
scrollToBottomNow() scrollToBottomNow()
isContinue.value = 'Y'
sendMessage({ sendMessage({
commond: 'STDY', commond: 'STDY',
body: { body: {
@@ -269,6 +268,7 @@
} }
} }
} catch {} finally { } catch {} finally {
isContinue.value = 'Y'
watchFlag.value += 1 watchFlag.value += 1
} }
} }