breadcrumb.vue 672 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div id="breadcrumb">
  3. <el-row>
  4. <el-col :span="24" class="crumbs">
  5. <el-breadcrumb separator="/">
  6. <el-breadcrumb-item> <i class="el-icon-s-grid"></i> {{ breadcrumbTitle }} </el-breadcrumb-item>
  7. </el-breadcrumb>
  8. </el-col>
  9. </el-row>
  10. </div>
  11. </template>
  12. <script>
  13. import { mapState, createNamespacedHelpers } from 'vuex';
  14. export default {
  15. metaInfo: {},
  16. name: 'breadcrumb',
  17. props: {
  18. breadcrumbTitle: { type: String },
  19. },
  20. components: {},
  21. data: function() {
  22. return {};
  23. },
  24. created() {},
  25. methods: {},
  26. computed: {
  27. ...mapState(['user']),
  28. },
  29. };
  30. </script>
  31. <style lang="less" scoped></style>