|
|
@ -42,6 +42,10 @@ function logout() { |
|
|
|
ElMessage.success("退出成功"); |
|
|
|
} |
|
|
|
|
|
|
|
const imgrule1 = '../src/assets/动漫美女.png'; |
|
|
|
const list=[ |
|
|
|
'../src/assets/韩信.png' |
|
|
|
]; |
|
|
|
// 挂载 |
|
|
|
onMounted(async function () { |
|
|
|
// 获取用户信息 |
|
|
@ -153,11 +157,7 @@ onMounted(async function () { |
|
|
|
> |
|
|
|
<el-sub-menu index="1" class="admin"> |
|
|
|
<template #title> |
|
|
|
<img |
|
|
|
style="width: 30px; height: 30px; border-radius: 50%" |
|
|
|
src="../assets/金币管理系统logo.png" |
|
|
|
alt="出错了" |
|
|
|
/> |
|
|
|
<el-image :preview-src-list="list" preview-teleported="true" :src="imgrule1" alt="错误" style="width: 50px; height: 50px" /> |
|
|
|
<span style="margin-left: 10px">{{ adminData.name }}</span> |
|
|
|
</template> |
|
|
|
<el-menu-item index="1-1">查看个人信息</el-menu-item> |
|
|
|