(间)谐波含有率可以为小数

This commit is contained in:
caozehui
2025-04-27 16:11:48 +08:00
parent ed85453de1
commit ddd0e6a22b
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
type="number"
placeholder="含有率"
style="width: 80px"
onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
onkeypress="return (/[\d.]/.test(String.fromCharCode(event.keyCode)))"
@input="validateInput('famp',0)"
clearable
/>

View File

@@ -23,7 +23,7 @@
type="number"
placeholder="含有率"
style="width: 80px"
onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
onkeypress="return (/[\d.]/.test(String.fromCharCode(event.keyCode)))"
@input="validateInput('famp',0)"
clearable
/>