Use scope instead of prop
This commit is contained in:
parent
d1a78ab81b
commit
d1b390b929
1 changed files with 3 additions and 3 deletions
|
|
@ -25,14 +25,14 @@
|
||||||
icon="add"
|
icon="add"
|
||||||
size="md"
|
size="md"
|
||||||
>
|
>
|
||||||
<q-popup-edit class="bg-accent text-white">
|
<q-popup-edit class="bg-accent text-white" v-slot="scope">
|
||||||
<q-input
|
<q-input
|
||||||
label="Amount to credit account"
|
label="Amount to credit account"
|
||||||
v-model="credit"
|
v-model="scope.value"
|
||||||
dense
|
dense
|
||||||
autofocus
|
autofocus
|
||||||
type="number"
|
type="number"
|
||||||
@keyup.enter="updateBalance(credit)"
|
@keyup.enter="updateBalance(scope.value)"
|
||||||
>
|
>
|
||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
<q-icon name="edit" />
|
<q-icon name="edit" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue