diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 4c51ecb6..e0be2b8a 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -231,7 +231,7 @@ function resetForm() { /** * 表单提交 */ -const handleSubmit = useDebounceFn(() => { +const handleSubmit = useThrottleFn(() => { userFormRef.value.validate((valid: any) => { if (valid) { const userId = formData.id; @@ -255,7 +255,7 @@ const handleSubmit = useDebounceFn(() => { } } }); -}, 1000); +}, 3000); /** * 删除用户