เพิ่ม @keyup.enter ตอนกด เพิ่ม แก้ไข
This commit is contained in:
parent
1f8e5d394c
commit
efe7ab6b78
1 changed files with 7 additions and 0 deletions
|
|
@ -58,6 +58,13 @@ function checkStatus(status: string) {
|
|||
lazy-rules
|
||||
borderless
|
||||
v-model="input"
|
||||
@keyup.enter="
|
||||
() => {
|
||||
controlAction(prop.category, prop.status, input);
|
||||
input = '';
|
||||
open = false;
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</q-card-section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue