feat: 调整样式

This commit is contained in:
JaguarJack
2023-01-12 14:56:29 +08:00
parent 014de3832b
commit 89049a83c3
2 changed files with 5 additions and 283 deletions

View File

@@ -6,12 +6,12 @@
<div class="ml-2 hidden lg:block">{{ userStore.getNickname }}</div>
</div>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item>Action 1</el-dropdown-item>
<el-dropdown-item>Action 2</el-dropdown-item>
<el-dropdown-item>Action 3</el-dropdown-item>
<el-dropdown-menu class="w-28">
<el-dropdown-item>
<Icon name="user"/> <router-link to="/users/center"> 个人信息</router-link>
</el-dropdown-item>
<el-dropdown-item divided @click="logout">
<Icon name="logout" class="mr-1" />
<Icon name="power" class="mr-1 w-4 h-4" />
退
</el-dropdown-item>
</el-dropdown-menu>