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


部分文件因为文件数量过多而无法显示