Commit db82e1f7 by doszhang

dos

parent 34750c72
...@@ -96,6 +96,8 @@ $(document).ready(function () { ...@@ -96,6 +96,8 @@ $(document).ready(function () {
$('.page1 .btn-next').on('click', checkInfo); $('.page1 .btn-next').on('click', checkInfo);
$('input[name=btn-upload]').change(function () { $('input[name=btn-upload]').change(function () {
imgInfo = {};
img = '';
$('.hide-block').hide(); $('.hide-block').hide();
$('.show-block').show(); $('.show-block').show();
bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) { bindUpload(this, uploadCtx, uploadCanvas, 1, function (img) {
......
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