props.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { defineMixin } from '../../libs/vue'
  2. import defProps from '../../libs/config/props.js'
  3. export const props = defineMixin({
  4. props: {
  5. containerStyle: {
  6. type: String,
  7. default: null
  8. },
  9. content: String,
  10. copyLink: {
  11. type: Boolean,
  12. default: () => defProps.parse.copyLink
  13. },
  14. domain: String,
  15. errorImg: {
  16. type: String,
  17. default: () => defProps.parse.errorImg
  18. },
  19. lazyLoad: {
  20. type: Boolean,
  21. default: () => defProps.parse.lazyLoad
  22. },
  23. loadingImg: {
  24. type: String,
  25. default: () => defProps.parse.loadingImg
  26. },
  27. pauseVideo: {
  28. type: Boolean,
  29. default: () => defProps.parse.pauseVideo
  30. },
  31. previewImg: {
  32. type: Boolean,
  33. default: () => defProps.parse.previewImg
  34. },
  35. scrollTable: Boolean,
  36. selectable: Boolean,
  37. setTitle: {
  38. type: Boolean,
  39. default: () => defProps.parse.setTitle
  40. },
  41. showImgMenu: {
  42. type: Boolean,
  43. default: () => defProps.parse.showImgMenu
  44. },
  45. tagStyle: Object,
  46. useAnchor: null
  47. }
  48. }