|
@@ -203,7 +203,7 @@ const autoListChidrenNum = ref(0)
|
|
|
const isEidtType = ref(false)
|
|
|
const leftBanerType = ref(2)
|
|
|
|
|
|
-const userData = ref(Cookies.get('username') || '')
|
|
|
+const userData = ref(Cookies.get('nickName') || '')
|
|
|
const commonsRouterList = ref([])
|
|
|
const activeLeftData = ref({})
|
|
|
const openLeftBaner = (i,index) => {
|
|
@@ -355,7 +355,7 @@ onMounted(() => {
|
|
|
calcAutoListChidren()
|
|
|
window.addEventListener('resize', calcAutoListChidren);
|
|
|
proxy.get('/getInfo').then(res => {
|
|
|
- userData.value = res.user.userName
|
|
|
+ userData.value = res.user.nickName
|
|
|
})
|
|
|
proxy.get('/system/menu/list').then(res => {
|
|
|
res.data = res.data.map(item => {
|