fix: comma input

This commit is contained in:
puriphatt 2024-10-25 15:18:50 +07:00
parent 157944f470
commit 6f887edd42
2 changed files with 7 additions and 3 deletions

View file

@ -228,7 +228,8 @@ watch(
:model-value="authorizedCapital"
@update:model-value="
(v) => {
if (typeof v === 'string') authorizedCapital = commaInput(v);
if (typeof v === 'string')
authorizedCapital = commaInput(v, 'string');
}
"
/>