Authored by 郭成尧

catch-e

... ... @@ -15,7 +15,7 @@ class Page {
this.$event.trigger(name, ...data);
}
ajax(options = {}) {
return Promise.resolve($.ajax(options));
return Promise.resolve($.ajax(options)).catch(e => {});
}
}
... ...