Skip to content

Commit e509eaf

Browse files
committed
fix: bug fix
1 parent 127a2b8 commit e509eaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/views/system/user/User.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ const search = () => {
717717
const addTerm = () => {
718718
const { account, email, name, oid, status } = state.form
719719
userApi.add({ account, email, name, oid, status }).then(() => {
720-
dialogFormVisible.value = false
720+
onFormClose()
721721
search()
722722
ElMessage({
723723
type: 'success',
@@ -731,7 +731,7 @@ const editTerm = () => {
731731
userApi
732732
.edit({ account, id, create_time, email, language, name, oid, oid_list, origin, status })
733733
.then(() => {
734-
dialogFormVisible.value = false
734+
onFormClose()
735735
search()
736736
ElMessage({
737737
type: 'success',

0 commit comments

Comments
 (0)