xm-attachment-ex-render.vue 806 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <xmAttachmentEx
  3. v-bind="$attrs"
  4. :enable-attachment-ex-tab="false"
  5. :zw-uploadable="$attrs.zwUploadable"
  6. :uploadfj="false"
  7. v-on="$listeners"
  8. />
  9. </template>
  10. <script>
  11. import xmAttachmentEx from '@product/iam/components/xm-attachment-ex'
  12. import components from './_import-components/xm-attachment-ex-render-import'
  13. const XmAttachmentExRender = {
  14. name: 'XmAttachmentExRender',
  15. components: {
  16. ...components,
  17. xmAttachmentEx,
  18. },
  19. created() {
  20. console.log(this.$attrs)
  21. },
  22. data() {
  23. return {}
  24. },
  25. methods: {},
  26. }
  27. // 默认导出:编辑模式的组件
  28. export default XmAttachmentExRender
  29. // forDisplay导出:只读模式的组件
  30. export { XmAttachmentExRender as forDisplay }
  31. </script>
  32. <style module lang="scss">
  33. @use '@/common/design' as *;
  34. </style>