FIX: BUG
This commit is contained in:
@@ -711,7 +711,7 @@
|
||||
<style lang="scss">
|
||||
.ai-answer {
|
||||
width: 100%;
|
||||
// overflow: hidden;
|
||||
overflow: hidden;
|
||||
margin-bottom: 20rpx;
|
||||
|
||||
.user-info {
|
||||
|
||||
@@ -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
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user