Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
easyUI
hls-easy-ui
Commits
0eb9183b
Commit
0eb9183b
authored
Aug 03, 2021
by
nature2104
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://hel.hand-china.com/easyUI/hls-easy-ui
parents
d6979563
d0a014a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
hlsPopup.js
packages/common/scripts/hlsPopup.js
+1
-13
No files found.
packages/common/scripts/hlsPopup.js
View file @
0eb9183b
...
@@ -29,21 +29,9 @@ export function showLoading (content = '', timeout = 10000) {
...
@@ -29,21 +29,9 @@ export function showLoading (content = '', timeout = 10000) {
Vue
.
$vux
.
loading
.
show
({
Vue
.
$vux
.
loading
.
show
({
text
:
content
||
'Loading'
,
text
:
content
||
'Loading'
,
})
})
this
.
isLoading
=
true
// 10s后自动解屏用于防止屏幕锁死
// 10s后自动解屏用于防止屏幕锁死
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
vm
.
isLoading
)
{
Vue
.
$vux
.
loading
.
hide
()
Vue
.
$vux
.
loading
.
hide
()
vm
.
isLoading
=
false
// 弹出操作失败
/* Vue.$vux.toast.show({
text: '操作失败',
type: 'warn',
time: 2000,
isShowMask: true,
position: 'middle',
}) */
}
},
timeout
)
},
timeout
)
}
}
...
...
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