From efdfd1f7aaee0395d55bd0b018be96104cb9f74b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 29 十月 2026 13:11:01 +0800
Subject: [PATCH] 修复请假时长输入精度
---
src/views/hrm/leave/data.ts | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/hrm/leave/data.ts b/src/views/hrm/leave/data.ts
index 6e8570e..cc4c09b 100644
--- a/src/views/hrm/leave/data.ts
+++ b/src/views/hrm/leave/data.ts
@@ -72,13 +72,13 @@
component: 'InputNumber',
componentProps: {
placeholder: '璇疯緭鍏ヨ鍋囨椂闀�',
- min: 0.5,
+ min: 0.01,
precision: 2,
- step: 0.5,
+ step: 0.01,
style: { width: '100%' },
},
rules: 'required',
- suffix: '澶�',
+ suffix: '澶╋紙鏀寔灏忔暟锛�',
},
{
fieldName: 'reason',
@@ -184,4 +184,4 @@
},
},
];
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3