refactor(header): 使用<header>标签替换<div>

- 提高语义化,提高可读性
This commit is contained in:
2025-09-24 14:45:43 +08:00
parent 059b99b802
commit d33007bcfb

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="header-container"> <header class="header-container">
<div class="logo-section"> <div class="logo-section">
<NuxtLink :to="$localePath('/')" class="logo-link"> <NuxtLink :to="$localePath('/')" class="logo-link">
<el-image <el-image
@ -59,7 +59,7 @@
</template> </template>
</el-dropdown> </el-dropdown>
</div> </div>
</div> </header>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">