message-customer-service.vue 495 B

1234567891011121314151617
  1. <template>
  2. <TUICustomerServicePlugin :message="props.message" />
  3. </template>
  4. <script setup lang="ts">
  5. import { IMessageModel } from '@tencentcloud/chat-uikit-engine';
  6. import TUICustomerServicePlugin from '../../../tui-customer-service-plugin/index.vue';
  7. interface IProps {
  8. message: IMessageModel;
  9. }
  10. const props = withDefaults(defineProps<IProps>(), {
  11. message: () => ({} as IMessageModel),
  12. });
  13. </script>
  14. <style lang="scss" scoped>
  15. /* stylelint-disable-next-line no-empty-source */
  16. </style>