liushengqiang 3 лет назад
Родитель
Сommit
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 AstronautJSON from './datas/data.json';
 import 'vue3-lottie/dist/style.css';
 import 'vue3-lottie/dist/style.css';
 import loading from './loading.gif';
 import loading from './loading.gif';
+import loadingJSon from './loading.json';
 export default defineComponent({
 export default defineComponent({
   name: 's-full-refresh',
   name: 's-full-refresh',
   props: {
   props: {
@@ -41,7 +42,7 @@ export default defineComponent({
           loading: () => (
           loading: () => (
             <div>
             <div>
               {
               {
-                <Image src={loading} class={styles.loading} />
+                <Image src={loadingJSon.loading} class={styles.loading} />
                 // <Vue3Lottie
                 // <Vue3Lottie
                 //   class={styles.animateWrap}
                 //   class={styles.animateWrap}
                 //   animationData={AstronautJSON}></Vue3Lottie>
                 //   animationData={AstronautJSON}></Vue3Lottie>

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
src/components/m-full-refresh/loading.json


Некоторые файлы не были показаны из-за большого количества измененных файлов