Authored by 郭成尧

catch-e

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