Commit 7a27c3ae7bdeaa517eb290286b6ae297c8c362aa

Authored by zouyang0921
1 parent de6a8cfe

[年会抽奖]调试拍照

Showing 1 changed file with 1 additions and 1 deletions
mobile.js
... ... @@ -98,7 +98,7 @@ var action = {
98 98 this.getSeatList();
99 99 },
100 100 // 打开摄像头,type=1: 唤起摄像头,type=2: 打开相册
101   - openCamera: function(type = 1) {
  101 + openCamera: function(type) {
102 102 console.log('type: ', type)
103 103 var sourceType = [];
104 104 if (type === 1) {
... ...