更换alert我layer

pull/31/head
ibuler 2015-12-30 12:11:39 +08:00
parent 09416286bf
commit 86cc963673
1 changed files with 2 additions and 2 deletions

View File

@ -113,12 +113,12 @@ $('#userForm').validator({
$("document").ready(function() { $("document").ready(function() {
$("#regen_ssh_key").click(function () { $("#regen_ssh_key").click(function () {
alert('申请已提交,请等待,请勿重复提交'); layer.alert('申请已提交,请等待,请勿重复提交');
$.get( $.get(
$(this).attr('value'), $(this).attr('value'),
{}, {},
function(data){ function(data){
alert(data) layer.alert(data)
} }
) )
}) })