关于使用gsap到项目中报 cannot assign to read only property 'y' of object '#<htmlimageelement>' 的错误的解决办法
环境:Nuxt + gasp 最终打包成静态文件的方式报错具体情况:官方给的案例中是这样引入的import { TimelineLite } from 'gsap',如果你是用Nuxt在npm run start 或 npm run dev的方式的话 不会有任何问题,但是如果你编译为静态文件也就是npm run generate,这里就会报 cannot assign to read onl...
原创
2020-04-02 12:11:42 ·
534 阅读 ·
1 评论