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