@deanwu/vue-component-library 1.3.114 → 1.3.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-component-library.common.js +10 -2
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.umd.js +10 -2
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +1 -1
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -56035,7 +56035,15 @@ function global_install(Vue, config) {
|
|
|
56035
56035
|
delete axios_default.a.requestQueue[index];
|
|
56036
56036
|
loading && loading.close();
|
|
56037
56037
|
if (opt.responseType == 'blob') {
|
|
56038
|
-
|
|
56038
|
+
try {
|
|
56039
|
+
opt.success(res);
|
|
56040
|
+
} catch (e) {
|
|
56041
|
+
this.$message({
|
|
56042
|
+
type: 'fail',
|
|
56043
|
+
message: '程序出现未知异常'
|
|
56044
|
+
});
|
|
56045
|
+
console.error(e);
|
|
56046
|
+
}
|
|
56039
56047
|
return;
|
|
56040
56048
|
}
|
|
56041
56049
|
try {
|
|
@@ -56075,7 +56083,7 @@ function global_install(Vue, config) {
|
|
|
56075
56083
|
config.request.log && console.group(`----- error ${opt.url.split('?')[0]} -----`);
|
|
56076
56084
|
config.request.log && console.log('@param', param);
|
|
56077
56085
|
config.request.log && console.log('@return', res);
|
|
56078
|
-
if (!opt.error || opt.error() !== false) {
|
|
56086
|
+
if (!opt.error || opt.error(res.data) !== false) {
|
|
56079
56087
|
this.$message({
|
|
56080
56088
|
type: 'fail',
|
|
56081
56089
|
message: '数据出现未知异常'
|