Browse Source

拍照改为只能拍摄不能相册选取

htc 1 tháng trước cách đây
mục cha
commit
9591799486
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      pagesClockin/fieldService.vue

+ 1 - 0
pagesClockin/fieldService.vue

@@ -16,6 +16,7 @@
 				    @afterRead="afterRead"
 				    @delete="deletePic"
 				    :maxCount="1"
+					:capture="['camera']"
 					:previewFullImage="true"
 				></u-upload>
 			</div>