Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
aba61120
authored
Apr 14, 2024
by
芋道源码
Committed by
Gitee
Apr 14, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!421 fix(UserImportForm): fix a bunch of bugs
Merge pull request !421 from AhJindeg/hotfix-UserImportForm
parents
ddfa0a5a
47938975
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/views/system/user/UserImportForm.vue
+5
-1
No files found.
src/views/system/user/UserImportForm.vue
View file @
aba61120
...
...
@@ -61,6 +61,7 @@ const updateSupport = ref(0) // 是否更新已经存在的用户数据
/** 打开弹窗 */
const
open
=
()
=>
{
dialogVisible
.
value
=
true
updateSupport
.
value
=
0
fileList
.
value
=
[]
resetForm
()
}
...
...
@@ -104,6 +105,8 @@ const submitFormSuccess = (response: any) => {
text += '
<
' + username + '
:
' + data.failureUsernames[username] + '
>
'
}
message.alert(text)
formLoading.value = false
dialogVisible.value = false
// 发送操作成功的事件
emits('
success
')
}
...
...
@@ -115,9 +118,10 @@ const submitFormError = (): void => {
}
/** 重置表单 */
const resetForm =
()
=> {
const
resetForm
=
async
():
Promise
<
void
>
=>
{
// 重置上传状态和文件
formLoading
.
value
=
false
await
nextTick
()
uploadRef
.
value
?.
clearFiles
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment