Update user.vue

when update user give formData parameter, beause update function in "TableEdit" receive parameter.
pull/411/head^2
movingheart 2025-08-31 01:28:34 +08:00 committed by GitHub
parent 6a7019ec1a
commit d473916d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,7 @@ const handleEdit = (row: User) => {
isEdit.value = true;
visible.value = true;
};
const updateData = () => {
const updateData = (formData) => {
closeDialog();
getData();
};
@ -145,4 +145,5 @@ const handleDelete = (row: User) => {
}
</script>
<style scoped></style>
<style scoped></style>