-
-
Notifications
You must be signed in to change notification settings - Fork 19.9k
[Bug Report] ElLoading.service spinner bug #6141
Copy link
Copy link
Closed
Labels
Description
Element Plus version
2.0.2
OS/Browsers version
win10/chrome 98
Vue version
3.2.31
Reproduction Link
https://codepen.io/lkr/pen/PoOQoqP
Steps to reproduce
ElLoading.service({
fullscreen: true,
spinner: 'custom-loading-image',
text: '加载中...',
customClass: 'custom-loading',
})
What is Expected?
希望spinner能真正的做到自定义加载图标类名,不然很难自定义loading图标
希望效果:
<svg class="custom-loading-image" viewBox="25 25 50 50"></svg>
What is actually happening?
spinner作用在一个svg上,并将这个svg的innerHTML赋值为spinner的值。
实际效果:
<svg class="circular" viewBox="25 25 50 50">custom-loading-image</svg>
Reactions are currently unavailable