function startLoading() {
clearSettimeout = setInterval(() => {
loading = Loading.service({
lock: true,
text: "努力加载中……",
background: "rgba(0, 0, 0, 0.1)"
// target: document.querySelector(".main") // 设置加载动画区域
});
}, 1000);
}
Element UI 框架中Loading 区域加载的使用方法
最新推荐文章于 2024-06-25 08:58:06 发布