refactor(header): 使用<header>标签替换<div>
- 提高语义化,提高可读性
This commit is contained in:
@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user