Commit 34e0471f by doszhang

dos

parent 92d5f07d
......@@ -50,7 +50,7 @@ if ($('div').length > 0) {
//上传canvas定义
let imgInfo = {};
imgInfo = {};
let blackUrl, black;
let uploadCanvas, uploadCtx;
let avatar;
......@@ -96,8 +96,6 @@ $(document).ready(function () {
$('.page1 .btn-next').on('click', checkInfo);
$('input[name=btn-upload]').change(function () {
imgInfo = {};
img = '';
$('.hide-block').hide();
$('.show-block').show();
bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) {
......@@ -106,7 +104,6 @@ $(document).ready(function () {
$('.upload-before').show();
$('.upload-after').show();
var mc = new Hammer($('#uploadCanvas').get(0));
console.log(imgInfo)
bindMc(mc, uploadCtx, uploadCanvas, img, imgInfo);
}, imgInfo);
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment