snowui
Advanced tools
Comparing version 1.4.119 to 1.4.120
{ | ||
"name": "snowui", | ||
"version": "1.4.119", | ||
"version": "1.4.120", | ||
"author": "yinli.wangyl<wangyinli1228@163.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -66,3 +66,3 @@ import { Loading } from 'element-ui' | ||
return new Promise(resolve => { | ||
return axios.get(url, params).then(response => { | ||
return axios.get(url, { params }).then(response => { | ||
handler(response, resolve, 2, vm) | ||
@@ -136,3 +136,3 @@ }) | ||
let errorMsg = response.data.msg | ||
if (vm) { | ||
if (vm) { | ||
errorMsg = errorMsg || vm.$t('s.ajax.httpException') | ||
@@ -139,0 +139,0 @@ vm.$message.error({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
5706027
135270