fix: 修复右上角用户名写死为admin的问题
This commit is contained in:
@@ -104,7 +104,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
username: 'admin', // sessionStorage.getItem('cn-username'),
|
username: localStorage.getItem(storageKey.username),
|
||||||
language: localStorage.getItem(storageKey.language) ? localStorage.getItem(storageKey.language) : 'en',
|
language: localStorage.getItem(storageKey.language) ? localStorage.getItem(storageKey.language) : 'en',
|
||||||
showChangePin: false,
|
showChangePin: false,
|
||||||
from: '', // entity类型
|
from: '', // entity类型
|
||||||
|
|||||||
Reference in New Issue
Block a user