Commit 3a651767fea526a04e2797af3eac72c872589fbc
1 parent
fca0bb16
style: update global spin
Showing
3 changed files
with
6 additions
and
16 deletions
src/design/public.less
src/setup/ant-design-vue/spin.less deleted
100644 → 0
src/setup/ant-design-vue/spin.tsx
1 | 1 | import { Spin } from 'ant-design-vue'; |
2 | 2 | import svgImg from '/@/assets/images/loading.svg'; |
3 | 3 | |
4 | -import './spin.less'; | |
5 | 4 | Spin.setDefaultIndicator({ |
6 | 5 | indicator: () => { |
7 | 6 | return ( |
8 | 7 | <div class="app-svg-loading"> |
9 | - <img src={svgImg} alt="" height="32" width="32" class="g-loading" /> | |
8 | + <img src={svgImg} alt="" height="32" width="32" /> | |
10 | 9 | </div> |
11 | 10 | ); |
12 | 11 | }, | ... | ... |