Commit 3a0a9f93 authored by 沈翠玲's avatar 沈翠玲

全局加载动态

parent 4b2f2732
...@@ -21,7 +21,7 @@ let loadingRequestCount = 0 ...@@ -21,7 +21,7 @@ let loadingRequestCount = 0
let loadingInstance let loadingInstance
const showLoading = () => { const showLoading = () => {
if (loadingRequestCount === 0) { if (loadingRequestCount === 0) {
loadingInstance = ElLoading.service({ target: '.el-main' }) loadingInstance = ElLoading.service({ target: '#app' })
} }
loadingRequestCount += 1 loadingRequestCount += 1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment