Delgado
Delgado
传说中的用github 的 issue 写博客。 有markdown 也有评论。666。
兄弟 我必须关注你了。太溜了。学到了。
准备fork学习学习。我会长期关注的。哦,我从掘金来的。
> 菜鸟,问一下,前端包括那些切图的事儿吗? 你成功的逗笑了我。
``` F:\VUE\end-demo\vue-element-admin>npm i > [email protected] install F:\VUE\end-demo\vue-element-admin\node_modules\node-sass > node scripts/install.js Downloading binary from https://github.com/sass/node-sass/releases/download/v4.6.1/win32-x64-48_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.6.1/win32-x64-48_binding.node": connect ETIMEDOUT 52.216.18.16:443 Timed out whilst downloading the prebuilt binary Hint: If github.com...
采用cnpm安装 没有错误。
现在得到是 预览图和截图框的比率是1:1, 假如我的截图框是 300*300 而预览的视口是 72*72,如何做到像cropper官网示例那种的预览效果??
@xyxiao001 感谢回复  预览图的视口大小是不同的尺寸,如:72x72 36x36(宽高是一个定值) ; 随着我们的截图框的移动,放缩, 预览图也可以移动 和放缩,就像cropper 官网示例的那种 如: https://github.com/fengyuanchen/cropperjs/blob/master/examples/customize-preview.html