bases/Fetcher.js
@@ -125,7 +125,7 @@ * @param {String} url * @param {*} [data] * @param {object} [options] * @return {Promise<any>|} * @return {Promise<any>} */ query(type, url, data = null, options = {}) { return new Promise((resolve, reject) => { @@ -590,7 +590,7 @@ title: msg, icon: 'none', mask: false, duration: type === 'fail' ? 3000 : 2000, duration: (type === 'fail' || type === 'error') ? 3000 : 2000, }); }