mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-30 02:21:00 +02:00
Use scope instead of prop
This commit is contained in:
@ -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" />
|
||||||
|
Reference in New Issue
Block a user