记住, 密码, 功能, 如何, 何实
如题,参考了网易案例的这段具体代码如下,不是很明白,写一段这样的具体代码如下就可以了吗?请老师指导一下,谢谢 justep.Shell.userType = justep.Bind.observable(); justep.Shell.userName = justep.Bind.observable(); var userLocal = (localStorage.getItem("userUUID") && JSON.parse(localStorage.getItem("userUUID"))) || null; if (userLocal) { justep.Shell.userName.set(userLocal.name || "UNKNOWN"); justep.Shell.userType.set(userLocal.accountType || "UNKNOWN"); } else { } |
servlet 3.0引用后,编译报错,请指教