代码生成优化 其他一些小优化

This commit is contained in:
吕金泽
2022-04-01 20:35:18 +08:00
parent b91328dcc7
commit df0bb5c38f
12 changed files with 121 additions and 48 deletions
+11 -7
View File
@@ -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">