diff --git a/templates/jperm/perm_role_list.html b/templates/jperm/perm_role_list.html index 2f7913ada..77aacaa54 100644 --- a/templates/jperm/perm_role_list.html +++ b/templates/jperm/perm_role_list.html @@ -87,7 +87,7 @@ function remove_role(role_id){ if (confirm("确认删除")) { $.ajax({ type: "POST", - url: "/jperm/role/perm_role_delete/", + url: "{% url 'role_del' %}", data: "id=" + role_id, success: function(msg){ alert( "成功: " + msg );