uni-events-helper-wx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
891 B

3 years ago
  1. /*
  2. * @Author : LQ
  3. * @Description :
  4. * @version : 1.0
  5. * @Date : 2021-08-20 16:44:21
  6. * @LastAuthor : LQ
  7. * @lastTime : 2021-08-20 17:09:50
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
  9. */
  10. export default {
  11. // upload组件
  12. upload: {
  13. accept: 'image',
  14. capture: () => ['album', 'camera'],
  15. compressed: true,
  16. camera: 'back',
  17. maxDuration: 60,
  18. uploadIcon: 'camera-fill',
  19. useBeforeRead: false,
  20. previewFullImage: true,
  21. maxCount: 52,
  22. disabled: false,
  23. imageMode: 'aspectFill',
  24. name: '',
  25. sizeType: () => ['original', 'compressed'],
  26. multiple: false,
  27. deletable: true,
  28. maxSize: Number.MAX_VALUE,
  29. fileList: () => [],
  30. uploadText: '',
  31. width: 80,
  32. height: 80,
  33. previewImage: true
  34. }
  35. }