Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4642378b
authored
2022-11-08 15:43:44 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:加载
1 parent
a9e0e703
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/utils/requestLoading.js
src/utils/requestLoading.js
View file @
4642378
...
...
@@ -3,12 +3,12 @@ import Loading from '@/components/loading/index.js';
let
loading
// loading开始 方法
function
startLoading
(
target
=
"body"
,
loadingText
=
'正在加载中...'
)
{
function
startLoading
(
target
,
loadingText
=
'正在加载中...'
)
{
loading
=
Loading
.
service
({
text
:
loadingText
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(255, 255, 255, 0.5)'
,
target
:
'#'
+
target
target
:
target
?
'#'
+
target
:
'body'
})
}
...
...
Please
register
or
sign in
to post a comment