小程序首页不显示用户username
This commit is contained in:
parent
acfd799417
commit
e0d1406ecd
8
TODOs.md
8
TODOs.md
@ -40,10 +40,15 @@
|
|||||||
|
|
||||||
# IP 配置
|
# IP 配置
|
||||||
|
|
||||||
|
develop
|
||||||
内网穿透:106.75.217.14
|
内网穿透:106.75.217.14
|
||||||
nacos:106.75.217.14
|
nacos:http://106.75.217.14:8488/nacos/index.html
|
||||||
数据库:本地
|
数据库:本地
|
||||||
|
|
||||||
|
production
|
||||||
|
nacos:http://106.75.217.14:8488/nacos/index.html
|
||||||
|
数据库:服务器上
|
||||||
|
|
||||||
|
|
||||||
# QCloud
|
# QCloud
|
||||||
|
|
||||||
@ -56,6 +61,7 @@ SecretKey 22sVt494mGZeV7sQkqwxnNjneHesqXxA
|
|||||||
# 门禁端网页
|
# 门禁端网页
|
||||||
|
|
||||||
https://epp.only4.work/access/index.html
|
https://epp.only4.work/access/index.html
|
||||||
|
https://epp-prod.only4.work/access/index.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ Page({
|
|||||||
debugText: JSON.stringify(options, null, 4),
|
debugText: JSON.stringify(options, null, 4),
|
||||||
userInfo: userInfo,
|
userInfo: userInfo,
|
||||||
userGroup: userGroup,
|
userGroup: userGroup,
|
||||||
displayUsername: userInfo ? (`${userInfo.realname} (${userInfo.username})`) : "请登录",
|
displayUsername: userInfo ? (`『${userInfo.realname}』`) : "请登录",
|
||||||
filterMenuItems: this.getFilterMenuItems(menuItemDict, userGroup)
|
filterMenuItems: this.getFilterMenuItems(menuItemDict, userGroup)
|
||||||
})
|
})
|
||||||
console.log("menuItemDict", menuItemDict)
|
console.log("menuItemDict", menuItemDict)
|
||||||
|
Loading…
Reference in New Issue
Block a user