Browse Source

头像上传

xuchunyang 8 years ago
parent
commit
58f8601b8f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/js/picture-upload.js

+ 2 - 2
app/js/picture-upload.js

@ -11,7 +11,7 @@ mui.plusReady(function() {
11 11
		save_img();
12 12
		imgOk = document.querySelector("#img_base64").value;
13 13
		console.log(imgOk)
14
		alert(angle)
14
		//alert(angle)
15 15
		mui.ajax(baseUrl + '/ajax/image/test', {
16 16
			data: {
17 17
				"id": userId,
@ -79,7 +79,7 @@ img_obj.onload = function() {
79 79
	EXIF.getData(img_obj, function() {
80 80
		//alert(EXIF.pretty(this));
81 81
		EXIF.getAllTags(this);
82
		alert(EXIF.getTag(this, 'Orientation'));
82
		//alert(EXIF.getTag(this, 'Orientation'));
83 83
		Orientation = EXIF.getTag(this, 'Orientation');
84 84
		//return;
85 85
		if(Orientation == 6) {