mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-15 21:53:48 +08:00
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="logo">
|
||||
<img src="~@/assets/images/logo.png" alt="" :class="{ 'mr-2': !collapsed }" />
|
||||
<h2 v-show="!collapsed" class="title">HG后台管理系统</h2>
|
||||
<h2 v-show="!collapsed" class="title">{{ projectName }}</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
type: Boolean,
|
||||
},
|
||||
},
|
||||
setup() {
|
||||
const projectName = import.meta.env.VITE_GLOB_APP_TITLE;
|
||||
return {
|
||||
projectName,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user