Commit fca0bb16 authored by vben's avatar vben

fix: fix spin style

parent ea24dfa3
@import (reference) '../../design/index.less';
.app-svg-loading {
position: relative;
width: auto;
&__tip {
display: block;
margin-top: 4px;
font-size: 13px;
color: #303133;
text-align: center;
}
}
import { Spin } from 'ant-design-vue';
import svgImg from '/@/assets/images/loading.svg';
import './spin.less';
Spin.setDefaultIndicator({
indicator: () => {
return (
<div
class="app-svg-loading"
style={{
position: 'relative',
width: 'auto',
}}
>
<div class="app-svg-loading">
<img src={svgImg} alt="" height="32" width="32" class="g-loading" />
</div>
);
......
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