li 7 年 前
コミット
c399fca47e
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      app/js/public/upload-avatar.js

+ 2 - 1
app/js/public/upload-avatar.js

@ -67,7 +67,8 @@ mui.plusReady(function() {
67 67
				plus.nativeUI.toast("读取拍照文件错误", toastStyle);
68 68
			});
69 69
		}, function(s) {
70
			console.log("error" + s);
70
			console.log(JSON.stringify(s));
71
			if(s.code==11)
71 72
			plus.nativeUI.toast("请在系统设置中,允许科袖访问您的相机,用于拍摄照片。", toastStyle);
72 73
		}, {
73 74
			filename: ""