Commit a917dc3a authored by nanahira's avatar nanahira

fix bottom left

parent 28787594
......@@ -14,9 +14,8 @@
</ul>
<hr>
<div class="dropdown">
<img *ngIf="userInfo.user" [src]="userInfo.user!.avatar_url" alt="" class="rounded-circle me-2" width="32" height="32">
<a href="#" class="d-flex align-items-center link-dark text-decoration-none dropdown-toggle" id="dropdownUser2"
data-bs-toggle="dropdown" aria-expanded="false">
<a href="#" class="d-flex align-items-center link-dark text-decoration-none dropdown-toggle" id="dropdownUser2" data-bs-toggle="dropdown" aria-expanded="false">
<img *ngIf="userInfo.user" [src]="userInfo.user!.avatar_url" alt="" class="rounded-circle me-2" width="32" height="32">
<strong>{{userInfo.user?.name || '未登录'}}</strong>
</a>
<ul class="dropdown-menu text-small shadow" aria-labelledby="dropdownUserNotLoggedIn" *ngIf="!userInfo.user">
......@@ -28,7 +27,8 @@
<li>
<hr class="dropdown-divider">
</li-->
<li><a class="dropdown-item" (click)="userInfo.logout()">登出</a></li>
<li><a class="dropdown-item" href="https://accounts.moecube.com/profiles">用户中心</a></li>
<li><a class="dropdown-item" (click)="userInfo.logout()">退出登录</a></li>
</ul>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment