feat: 一些文本的统一处理

This commit is contained in:
zoujing committed 2026-05-26 13:03:32 +08:00
1 parent a5dc11fc1a
commit 1d11357e7d
3 files changed
+18 -4

No files matched your search

+2 -3
View File
@@ -119,7 +119,7 @@
<script setup>
import { ref, computed, watch, nextTick, onMounted, defineExpose, onUnmounted } from "vue";
import RecordingWaveBtn from "@/components/Speech/RecordingWaveBtn.vue";
import { getCurrentConfig } from "@/constant/base";
import { chatInputPlaceholder } from "@/constant/local";
// #ifdef APP-PLUS
import { appSpeechRecognitionOptions } from "@/constant/speech";
// #endif
@@ -168,8 +168,7 @@ const appSpeechRef = ref(null);
const appSpeechKey = ref(0);
const appSpeechVisible = ref(true);
const placeholder = computed(() => {
const config = getCurrentConfig();
return `快告诉${config.name}您在想什么~`;
return chatInputPlaceholder();
});
const inputMessage = ref(props.modelValue || "");
const isFocused = ref(false);