src/main/webapp/static/js/role/rolePower.js
@@ -24,7 +24,7 @@ if (res.code === 200){ tree.setChecked('powerTree', res.data); } else if (res.code === 403){ top.location.href = baseUrl; top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) } @@ -49,7 +49,6 @@ param.push(one); }) }); // console.log(JSON.stringify(param)); $.ajax({ url: baseUrl+"/power/auth", traditional: true, @@ -63,7 +62,7 @@ if (res.code === 200){ parent.layer.closeAll(); } else if (res.code === 403){ top.location.href = baseUrl; top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) }