messageInfo.vue 708 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <div id="messageInfo">
  3. <el-row>
  4. <el-col :span="24" class="info">
  5. <p>{{ messageInfos.content }}</p>
  6. </el-col>
  7. </el-row>
  8. </div>
  9. </template>
  10. <script>
  11. import { mapState, createNamespacedHelpers } from 'vuex';
  12. export default {
  13. name: 'messageInfo',
  14. props: {
  15. messageInfos: null,
  16. },
  17. components: {},
  18. data: function() {
  19. return {};
  20. },
  21. created() {},
  22. methods: {},
  23. computed: {
  24. ...mapState(['user']),
  25. pageTitle() {
  26. return `${this.$route.meta.title}`;
  27. },
  28. },
  29. metaInfo() {
  30. return { title: this.$route.meta.title };
  31. },
  32. };
  33. </script>
  34. <style lang="less" scoped>
  35. p {
  36. padding: 0;
  37. margin: 0;
  38. }
  39. .info {
  40. padding: 10px;
  41. }
  42. </style>