Răsfoiți Sursa

chore: change document

DaiQiangReal 1 an în urmă
părinte
comite
61c2d42815
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      content/plus/lottie/index.md

+ 2 - 2
content/plus/lottie/index.md

@@ -116,7 +116,7 @@ import React from "react";
     const jsonURL = "https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/lottie_demo.json";
     const jsonURL = "https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/lottie_demo.json";
 
 
     return <div>
     return <div>
-        <Lottie getAnimationInstance={(animation )=>{console.log(animation);}} params={{ path: jsonURL }} width={"300px"} />;
+        <Lottie getAnimationInstance={(animation )=>{console.log(animation);}} params={{ path: jsonURL }} width={"300px"} />
     </div>
     </div>
 };
 };
 ```
 ```
@@ -138,7 +138,7 @@ import React from "react";
     console.log("lottie", Lottie.getLottie());
     console.log("lottie", Lottie.getLottie());
     
     
     return <div>
     return <div>
-        <Lottie getLottie={lottie=>console.log("lottie", lottie)} params={{ path: jsonURL }} width={"300px"} />;
+        <Lottie getLottie={lottie=>console.log("lottie", lottie)} params={{ path: jsonURL }} width={"300px"} />
     </div>
     </div>
 };
 };