FIX: BUG
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user