
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<template>
<header>
<div class="selected-menu-info" v-if="selectedLabel && selectedIcon">
<span><img :src="selectedIcon" :alt="selectedLabel + ' 아이콘'" style="width:20px; height:20px;" /></span>
<span style="font-weight: bold;">{{ selectedLabel }}</span>
</div>
<div class="user-info">
<div class="user-name">관리자</div>
<button class="user-logout"><img src="../../resources/img/component/common/ico_logout_w_16.svg" alt="" style="color: #ffffff;"> 로그아웃</button>
</div>
</header>
</template>
<script>
export default {
props: {
selectedLabel: String,
selectedIcon: [String, Object]
},
data() {
return {
};
},
methods: {
},
watch: {},
computed: {},
components: {},
created() {},
mounted() {
console.log("아이콘",this.selectedIcon)
},
beforeUnmount() {},
};
</script>