mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-07-09 00:00:04 +08:00
代码生成优化 其他一些小优化
This commit is contained in:
@@ -6,14 +6,18 @@
|
||||
</div>
|
||||
<div class="header-right">
|
||||
<div class="avatar">
|
||||
<el-avatar :size="40" fit="contain" :src="$global.baseApi + $global.user.info.headPortrait">
|
||||
{{ !$global.user.info.headPortrait ? $global.user.info.name.substring(0,1) : '' }}
|
||||
</el-avatar>
|
||||
<el-dropdown>
|
||||
<span class="username">{{ $global.user.info.username }}</span>
|
||||
<el-icon class="el-icon--right" color="white">
|
||||
<arrow-down />
|
||||
</el-icon>
|
||||
<el-col>
|
||||
<el-avatar :size="40" fit="contain" :src="$global.baseApi + $global.user.info.headPortrait">
|
||||
{{ !$global.user.info.headPortrait ? $global.user.info.name.substring(0,1) : '' }}
|
||||
</el-avatar>
|
||||
</el-col>
|
||||
<el-col style="line-height: 40px;">
|
||||
<span class="username">{{ $global.user.info.username }}</span>
|
||||
<el-icon class="el-icon--right" color="white">
|
||||
<arrow-down />
|
||||
</el-icon>
|
||||
</el-col>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<router-link to="/user-center">
|
||||
|
||||
Reference in New Issue
Block a user