npm install --save @zee.kim/crop
new crop({
width: 300,
height: 300,
//url:"", //默认显示图片
success: function (data) {
console.log(data);//这是个base64 图片字符串
}
});
无依赖的图片裁剪库
npm install --save @zee.kim/crop
new crop({
width: 300,
height: 300,
//url:"", //默认显示图片
success: function (data) {
console.log(data);//这是个base64 图片字符串
}
});