t***@163.com
t***@163.com
  • 发布:2017-04-12 20:04
  • 更新:2017-04-14 17:00
  • 阅读:1088

mui.openWindow不执行

分类:MUI
    function exitSystem(){  
        if( !confirm("是否退出登陆?") ){  
            return;  
        }  
        $.ajax({  
            url: '/exitSystem.do?method=app',  
            type: 'post',  
            dataType: 'text',  
            async: false,  
            success: function (response) {  
                    mui.toast(response + "------------------");  
                if(response == "success"){  
                    try{  
                        mui.openWindow({  
                            id: 'loginxxxx',  
                            url: 'login.jsp'  
                        });  
                    }catch(e){  
                        alert(e);  
                    }  
                }else{  
                    alert("xxxx");  
                }  
            }  
        });  
    }  

<button class="mui-btn mui-btn-blue mui-btn-link mui-pull-right" onclick="exitSystem()">注销</button>

2017-04-12 20:04 负责人:无 分享
已邀请:
giddens

giddens

我猜是openwindow里的id不对

该问题目前已经被锁定, 无法添加新回复