提交 3d61ea21 编写于 作者: A Anne_LXM

修复首次设置昵称报错null cannot be cast to non-null type kotlin.String的问题

上级 85101263
......@@ -24,7 +24,7 @@
return this.currentNickname != this.nickname
},
currentNickname() : string {
return (state.userInfo.get("nickname") as string)
return state.userInfo.get("nickname") == null?'':(state.userInfo.get("nickname") as string)
}
},
onLoad() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册