<template>
  <span class="dm-message__item__wrap">
    <div class="dm-message__item">
      <p class="dm-message__item--title">{{ item.title || '该短信模板已删除' }}</p>
      <p class="dm-message__item--content">{{ item.content || '--' }}</p>
    </div>
  </span>
</template>

<script>
export default {
  name: 'item-message',
  props: {
    item: {
      type: Object,
      default() {
        return {};
      }
    }
  }
};
</script>
