|
|
@@ -137,7 +137,7 @@ const emits = defineEmits(['saveProgress'])
|
|
|
const cacheDataHistoryList = ref([]);
|
|
|
|
|
|
// 存储上传的图片
|
|
|
-const uploadedImage = ref('https://learn-ai.com.cn/admin-api/infra/file/29/get/20251217/网页地图level1-32_1765957974334.png');
|
|
|
+const uploadedImage = ref('');
|
|
|
const imageUploadRef = ref(null);
|
|
|
|
|
|
// 对话状态变量
|
|
|
@@ -171,7 +171,7 @@ onMounted(async () => {
|
|
|
|
|
|
// 消息列表和输入内容的响应式变量
|
|
|
const messages = ref([])
|
|
|
-const inputMessage = ref('')
|
|
|
+const inputMessage = ref('这是什么植物?')
|
|
|
|
|
|
// 语音输入状态跟踪
|
|
|
const isVoiceRecording = ref(false); // 当前是否正在录音
|