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.

37 lines
785 B

5 months 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. extension: [],
  15. capture: ['album', 'camera'],
  16. compressed: true,
  17. camera: 'back',
  18. maxDuration: 60,
  19. uploadIcon: 'camera-fill',
  20. uploadIconColor: '#D3D4D6',
  21. useBeforeRead: false,
  22. previewFullImage: true,
  23. maxCount: 52,
  24. disabled: false,
  25. imageMode: 'aspectFill',
  26. name: '',
  27. sizeType: ['original', 'compressed'],
  28. multiple: false,
  29. deletable: true,
  30. maxSize: Number.MAX_VALUE,
  31. fileList: [],
  32. uploadText: '',
  33. width: 80,
  34. height: 80,
  35. previewImage: true
  36. }
  37. }