<!--
 * @Author: your name
 * @Date: 2021-01-22 05:56:50
 * @LastEditTime: 2022-03-05 09:40:10
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ctos-admin-ui\src\components\tools\Logo.vue
-->
<template>
  <div class="logo">
    <router-link :to="{name:'dashboard'}">
      <img alt="logo" style="width: 60px;height: 30px" src="~@/assets/icon_logo_s.png">
      <h1>{{ title }}</h1>
    </router-link>
  </div>
</template>
<script>
export default {
  name: 'Logo',
  components: {
  },
  props: {
    title: {
      type: String,
      default: 'YINGHE-LOWCODE',
      required: false
    },
    showTitle: {
      type: Boolean,
      default: true,
      required: false
    }
  }
}
</script>
