fix: 修复右上角用户名写死为admin的问题

This commit is contained in:
chenjinsong
2022-06-22 14:05:11 +08:00
parent 82776c123e
commit d918175bc3

View File

@@ -104,7 +104,7 @@ export default {
}
}
return {
username: 'admin', // sessionStorage.getItem('cn-username'),
username: localStorage.getItem(storageKey.username),
language: localStorage.getItem(storageKey.language) ? localStorage.getItem(storageKey.language) : 'en',
showChangePin: false,
from: '', // entity类型