<template>
    <div class="header-left">
        <!-- 系统LOGO -->
        <img :src="logoUrl" style="width:155px;height:35px"  alt="logo" class="ab-m-r-50" v-if="settingsStore.showLogo"/>
        <!-- 子系统选择功能-->
        <SubSystemSwitch></SubSystemSwitch>
    </div>
 </template>
 <script setup lang="ts">
  import logoPng from '@/assets/img/logo.png'
 import { useSettingsStore } from "@/framework/store/modules/settings";
 import SubSystemSwitch from "@/framework/layoutpublic/SubSystemSwitch/index.vue"

 const settingsStore = useSettingsStore()
 let logoUrl = logoPng
 if(''!=settingsStore.logoAddress){
    logoUrl=settingsStore.logoAddress
 }
 

 </script>
 
 <style lang="scss" scoped>
 
 .header-left{
    display: flex;
        align-items: center;
        
        font-size: 14px;
        
     
     
 }


 </style>