submit در Vue TypeScript کار نمی کند

من سعی می کنم از فرم ارسال شده استفاده کنم و آن را صدا نمی کند. این کد من است. مطمئن نیستم چه اشتباهی انجام می دهم. با تشکر برای کمک
با استفاده از VUE: 3.4.18
کوازار: 2.16
: ارسال شده = “message.from == 'me”؟ درست: false ” />
<template v-slot:after>
<q-btn round dense flat type="button" color="white" icon="send" />
</template>
</q-input>
</q-form>
</q-toolbar>
</q-footer>
</q-page>
واردات {ref} از 'vue' ؛
پیام های const = ref ([
{
text: ‘Hey Jim, how are you?’,
from: ‘me’
},
{
text: ‘Good thanks, Danny! How are you?’,
from: ‘them’
},
{
text: ‘Pretty good!’,
from: ‘me’
}
]) ؛
const newmessage = ref ('') ؛
تابع onsubmit () {
console.log ('ارسال پیام:' ، newmessage.value) ؛
Messages.Value.push ({
متن: newmessage.value ،
از: “من”
}) ؛
newMessage.Value = “” ؛
console.log('Sending message:', newMessage.value);
newMessage.value="";
} ؛