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
47c26b3d
authored
2022-11-09 09:13:25 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:加载组件
1 parent
b233bab3
Hide 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 @
47c26b3
...
...
@@ -3,12 +3,12 @@ import Loading from '@/components/loading/index.js';
let
loading
// loading开始 方法
function
startLoading
(
target
,
loadingText
=
'正在加载中...'
)
{
function
startLoading
(
target
=
'body'
,
loadingText
=
'正在加载中...'
)
{
loading
=
Loading
.
service
({
text
:
loadingText
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(255, 255, 255, 0.5)'
,
target
:
target
?
'#'
+
target
:
'body'
target
:
'#'
+
target
})
}
...
...
Please
register
or
sign in
to post a comment