feat:设备使用记录

This commit is contained in:
houjunxiang
2026-03-05 16:54:47 +08:00
parent 749ac7f507
commit 9c88c45d66
357 changed files with 21486 additions and 5845 deletions

View File

@@ -125,13 +125,13 @@ const changeNums = (item, index) => {
}
// 检查小数位数限制
let decimal = props.numKeyboardParam?.decimal ?? -1
const parts = nums.value.split('.')
if (parts.length === 2 && decimal !== -1) {
if (parts[1].length >= decimal) {
return false
}
}
// let decimal = props.numKeyboardParam?.decimal ?? -1
// const parts = nums.value.split('.')
// if (parts.length === 2 && decimal !== -1) {
// if (parts[1].length >= decimal) {
// return false
// }
// }
nums.value += inputChar
}