mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 19:34:02 +00:00
Update README.md
This commit is contained in:
parent
0a1552b1f0
commit
ab97f27fd1
1 changed files with 3 additions and 3 deletions
|
|
@ -471,9 +471,9 @@ The component can look roughly like this:
|
||||||
},
|
},
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
$watch('money', () => $wire.set('money', {
|
$watch('money', money => $wire.set('money', {
|
||||||
value: Math.round(this.value / 100),
|
value: Math.round(money.value / 100),
|
||||||
currency: this.currency.
|
currency: money.currency.
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
}" x-init="init">
|
}" x-init="init">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue