fix: wrong value set
This commit is contained in:
parent
ae88440870
commit
7511823e88
1 changed files with 3 additions and 1 deletions
|
|
@ -341,7 +341,9 @@ withDefaults(
|
|||
:model-value="formattedAgentPrice"
|
||||
@blur="
|
||||
() => {
|
||||
agentPrice = Number(formattedPrice.replace(/,/g, ''));
|
||||
agentPrice = Number(
|
||||
formattedAgentPrice.replace(/,/g, ''),
|
||||
);
|
||||
if (
|
||||
agentPrice % 1 === 0 &&
|
||||
!formattedAgentPrice.split('.').at(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue