refactor(header): 使用<header>标签替换<div>
- 提高语义化,提高可读性
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="header-container">
|
||||
<header class="header-container">
|
||||
<div class="logo-section">
|
||||
<NuxtLink :to="$localePath('/')" class="logo-link">
|
||||
<el-image
|
||||
@ -59,7 +59,7 @@
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
Reference in New Issue
Block a user