props.js 778 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. const props = {
  2. addContent: {
  3. type: String,
  4. },
  5. allowUploadDuplicateFile: {
  6. type: Boolean,
  7. value: false,
  8. },
  9. config: {
  10. type: Object,
  11. },
  12. files: {
  13. type: Array,
  14. value: null,
  15. },
  16. defaultFiles: {
  17. type: Array,
  18. },
  19. gridConfig: {
  20. type: Object,
  21. },
  22. gutter: {
  23. type: Number,
  24. value: 16,
  25. },
  26. imageProps: {
  27. type: Object,
  28. },
  29. max: {
  30. type: Number,
  31. value: 0,
  32. },
  33. mediaType: {
  34. type: Array,
  35. value: ['image', 'video'],
  36. },
  37. requestMethod: {
  38. type: null,
  39. },
  40. sizeLimit: {
  41. type: null,
  42. },
  43. source: {
  44. type: String,
  45. value: 'media',
  46. },
  47. };
  48. export default props;