Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b8f28dc5
authored
Oct 13, 2026
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(员工组件): 添加列表加载时的loading提示
在打开员工选择弹窗前显示加载遮罩,等待列表拉取完成后隐藏loading再弹窗,优化用户交互体验
1 parent
919dc8d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
components/Employee.vue
components/Employee.vue
View file @
b8f28dc
...
@@ -83,7 +83,12 @@ export default {
...
@@ -83,7 +83,12 @@ export default {
this
.
$refs
.
employeeBoxVisible
.
open
()
this
.
$refs
.
employeeBoxVisible
.
open
()
return
return
}
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
await
this
.
ensureEmployeeList
()
await
this
.
ensureEmployeeList
()
uni
.
hideLoading
()
this
.
$refs
.
employeeBoxVisible
.
open
()
this
.
$refs
.
employeeBoxVisible
.
open
()
},
},
async
ensureEmployeeList
()
{
async
ensureEmployeeList
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment