liushengqiang 2 년 전
부모
커밋
1a7b15a358
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/m-full-refresh/index.tsx
  2. 1 0
      src/components/m-full-refresh/loading.json

+ 2 - 1
src/components/m-full-refresh/index.tsx

@@ -5,6 +5,7 @@ import { Vue3Lottie } from 'vue3-lottie';
 import AstronautJSON from './datas/data.json';
 import 'vue3-lottie/dist/style.css';
 import loading from './loading.gif';
+import loadingJSon from './loading.json';
 export default defineComponent({
   name: 's-full-refresh',
   props: {
@@ -41,7 +42,7 @@ export default defineComponent({
           loading: () => (
             <div>
               {
-                <Image src={loading} class={styles.loading} />
+                <Image src={loadingJSon.loading} class={styles.loading} />
                 // <Vue3Lottie
                 //   class={styles.animateWrap}
                 //   animationData={AstronautJSON}></Vue3Lottie>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
src/components/m-full-refresh/loading.json


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.