|
@@ -43,7 +43,9 @@
|
|
|
</template>
|
|
|
</div>
|
|
|
<SoundRecordPreview
|
|
|
- v-if="isEnable(data.property.is_enable_voice_answer)"
|
|
|
+ v-if="
|
|
|
+ isEnable(data.property.is_enable_voice_answer) && item.content_list.some(({ type }) => type === 'input')
|
|
|
+ "
|
|
|
:wav-blob.sync="item.file_id"
|
|
|
:disabled="disabled"
|
|
|
type="small"
|
|
@@ -117,6 +119,7 @@ export default {
|
|
|
};
|
|
|
})
|
|
|
.filter((item) => item);
|
|
|
+ if (list.length <= 0) return;
|
|
|
this.answer.answer_list.push({
|
|
|
content_list: list,
|
|
|
file_id,
|
|
@@ -215,7 +218,7 @@ export default {
|
|
|
|
|
|
.text {
|
|
|
padding: 8px 12px;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 16px;
|
|
|
word-break: break-all;
|
|
|
background-color: #fff;
|
|
|
border-radius: 8px;
|