perf(projects): perf page manage_role, useTable

This commit is contained in:
Soybean
2024-01-28 01:35:01 +08:00
parent 0e9e2e1dc0
commit 39aa7aa2de
4 changed files with 13 additions and 5 deletions

View File

@ -71,8 +71,13 @@ export function useNaiveForm() {
await formRef.value?.validate();
}
async function restoreValidation() {
formRef.value?.restoreValidation();
}
return {
formRef,
validate
validate,
restoreValidation
};
}