![](https://img-blog.csdnimg.cn/20190927151124774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
前端
前端
码海兴辰
探索,创新,飞跃
展开
-
前端Canvas绘制图片跨域问题解决
functionimageUrlToBase64(){ //一定要设置为let,不然图片不显示 constimage=newImage(); //解决跨域问题 image.setAttribute('crossOrigin','anonymous'); constimageUrl='http://ip:8081/baseImagePath/appUserHos...原创 2021-08-27 11:07:25 · 1998 阅读 · 0 评论 -
前端面试需知
vue生命周期? beforeCeate、ceated、beforeMount、mounted beforeUpdate、Updated、beforeDestroy、destroyed 详细说说每个生命周期的区别 父子组件的生命周期执行顺序? 页面渲染html的过程? vue组件通信? 前端性能优化? 怎么理解HTML5语义化? 两个元素相互影响出现高度坍塌,margin重叠的问题是什么原因导致的?(BFC..原创 2021-07-02 19:38:39 · 278 阅读 · 0 评论