feat: 输入区域的调整

This commit is contained in:
2025-08-04 20:18:12 +08:00
parent f0b6fb0c0c
commit c40c64c92f
2 changed files with 12 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
<textarea
class="textarea"
type="text"
placeholder="快速订票,呼叫服务"
:placeholder="placeholder"
cursor-spacing="65"
confirm-type='done'
v-model="inputMessage"
@@ -35,6 +35,7 @@ const props = defineProps({
})
const emit = defineEmits(['update:inputMessage', 'send', 'noHideKeyboard'])
const placeholder = ref('快告诉朵朵您在想什么~')
const inputMessage = ref(props.inputMessage || '')
// 保持和父组件同步