Vue by pm123 August 20, 2018 JavaScript $.ajax("/echo/html/") .done(function(){ alert("哈哈,成功了!"); }) .fail(function(){ alert("出错啦!"); });