|
|
|
@ -12,7 +12,7 @@ export default defineComponent({
|
|
|
|
|
setup(props) {
|
|
|
|
|
const animationPic = ref(null); //获取dom
|
|
|
|
|
function initAnimate() {
|
|
|
|
|
console.log(props.value, "lottie");
|
|
|
|
|
// console.log(props.value, "lottie");
|
|
|
|
|
lottie.loadAnimation({
|
|
|
|
|
container: animationPic.value, //选择渲染dom
|
|
|
|
|
renderer: "svg", //渲染格式
|
|
|
|
|