|

楼主 |
发表于 2017-9-29 16:13:53
|
显示全部楼层
比如说,我有一个页面,当我给他传一个值的时候他才能打开,否则就打不开,现在是怎么样页面都能打开,只是没数据
Model.prototype.data1CustomRefresh = function(event){
alert(localStorage.getItem("username"));
if(localStorage.getItem("username")==null){
justep.Util.hint("您还没有登录!");
var button1 = this.comp("button1");
alert(button1);
//不起作用
justep.Shell.closePage();
return false;
} |
|