前端实习-第19天
我得快点写加载功能。
const options = {
lock: false,
text: '加载中...',
spinner: 'el-icon-loading',
background: 'rgba(255, 255, 255, 0.7)',
target: '.load',
fullscreen: false
}
let loading
let loadingNum = 0
function startLoading () {
if (loadingNum === 0) {
loading = Loading.service(options)
console