mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-11-30 02:07:38 +08:00
fix: layout icon
This commit is contained in:
parent
8d65f8ee92
commit
5564250e7d
@ -1,5 +1,5 @@
|
||||
import { http } from "../utils/http";
|
||||
|
||||
export const getAsyncRoutes = (data?: object) => {
|
||||
return http.request("get", "/getAsyncRoutes", { data });
|
||||
export const getAsyncRoutes = (params?: object) => {
|
||||
return http.request("get", "/getAsyncRoutes", { params });
|
||||
};
|
||||
|
@ -113,9 +113,10 @@ function translationEn() {
|
||||
</span>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu class="logout">
|
||||
<el-dropdown-item icon="el-icon-switch-button" @click="logout">{{
|
||||
$t("message.hsLoginOut")
|
||||
}}</el-dropdown-item>
|
||||
<el-dropdown-item @click="logout">
|
||||
<i class="ri-logout-circle-r-line"></i
|
||||
>{{ $t("message.hsLoginOut") }}</el-dropdown-item
|
||||
>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
@ -254,6 +255,7 @@ function translationEn() {
|
||||
|
||||
.logout {
|
||||
.el-dropdown-menu__item {
|
||||
display: inline-flex;
|
||||
padding: 0 18px !important;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user