eoss-mobiles 0.2.14 → 0.2.16
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/lib/checkbox.js +189 -168
- package/lib/date.js +3 -3
- package/lib/eoss-mobile.common.js +240 -216
- package/lib/flow.js +199 -176
- package/lib/index.js +1 -1
- package/lib/picker.js +189 -168
- package/lib/radio.js +189 -168
- package/lib/retrial-auth.js +189 -168
- package/lib/selector.js +224 -202
- package/lib/table-column.js +189 -168
- package/lib/table.js +189 -168
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/utils/axios.js +140 -153
- package/lib/utils/http.js +5 -5
- package/lib/utils/util.js +36 -1
- package/package.json +1 -1
- package/packages/date/src/main.vue +1 -1
- package/packages/flow/src/components/Handle.vue +1 -0
- package/packages/selector/src/selector-tree.vue +23 -21
- package/packages/selector/src/tree.vue +1 -1
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow.scss +1 -0
- package/src/index.js +1 -1
- package/src/utils/axios.js +155 -173
- package/src/utils/http.js +15 -5
- package/src/utils/util.js +36 -2
package/lib/retrial-auth.js
CHANGED
|
@@ -91,16 +91,50 @@ module.exports =
|
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
94
|
-
/* harmony import */ var _eoss_design_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
94
|
+
/* harmony import */ var _eoss_design_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
95
95
|
/* harmony import */ var _eoss_design_color__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_eoss_design_color__WEBPACK_IMPORTED_MODULE_0__);
|
|
96
96
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
97
97
|
|
|
98
98
|
/* eslint-disable indent */
|
|
99
99
|
// import { authCenter } from '../config/api';
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
// import CryptoJS from 'crypto-js'
|
|
102
102
|
var sm2 = __webpack_require__(8).sm2;
|
|
103
|
-
|
|
103
|
+
// /**
|
|
104
|
+
// * esEncrypt
|
|
105
|
+
// * @desc:sm2加密
|
|
106
|
+
// * @author huangbo
|
|
107
|
+
// * @date 2022年5月7日
|
|
108
|
+
// * @param {string} [data] - 被加密的字符串
|
|
109
|
+
// * @param {string} [key] - 公钥
|
|
110
|
+
// **/
|
|
111
|
+
// const encryptDes = (message, key) => {
|
|
112
|
+
// const keyHex = CryptoJS.enc.Utf8.parse(key);
|
|
113
|
+
// const encrypted = CryptoJS.DES.encrypt(message, keyHex, {
|
|
114
|
+
// mode: CryptoJS.mode.ECB,
|
|
115
|
+
// padding: CryptoJS.pad.Pkcs7
|
|
116
|
+
// });
|
|
117
|
+
// return encrypted.toString();
|
|
118
|
+
// }
|
|
119
|
+
// /**
|
|
120
|
+
// * esEncrypt
|
|
121
|
+
// * @desc:sm2加密
|
|
122
|
+
// * @author huangbo
|
|
123
|
+
// * @date 2022年5月7日
|
|
124
|
+
// * @param {string} [data] - 被加密的字符串
|
|
125
|
+
// * @param {string} [key] - 公钥
|
|
126
|
+
// **/
|
|
127
|
+
// const decryptDes = (ciphertext, key) => {
|
|
128
|
+
// const keyHex = CryptoJS.enc.Utf8.parse(key);
|
|
129
|
+
// // direct decrypt ciphertext
|
|
130
|
+
// const decrypted = CryptoJS.DES.decrypt({
|
|
131
|
+
// ciphertext: CryptoJS.enc.Base64.parse(ciphertext)
|
|
132
|
+
// }, keyHex, {
|
|
133
|
+
// mode: CryptoJS.mode.ECB,
|
|
134
|
+
// padding: CryptoJS.pad.Pkcs7
|
|
135
|
+
// });
|
|
136
|
+
// return decrypted.toString(CryptoJS.enc.Utf8);
|
|
137
|
+
// }
|
|
104
138
|
/**
|
|
105
139
|
* esEncrypt
|
|
106
140
|
* @desc:sm2加密
|
|
@@ -1675,17 +1709,17 @@ var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
|
1675
1709
|
"use strict";
|
|
1676
1710
|
|
|
1677
1711
|
// EXTERNAL MODULE: external "axios"
|
|
1678
|
-
var external_axios_ = __webpack_require__(
|
|
1712
|
+
var external_axios_ = __webpack_require__(6);
|
|
1679
1713
|
var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
|
|
1680
1714
|
|
|
1681
1715
|
// EXTERNAL MODULE: external "eoss-mobile-vant"
|
|
1682
|
-
var external_eoss_mobile_vant_ = __webpack_require__(
|
|
1716
|
+
var external_eoss_mobile_vant_ = __webpack_require__(4);
|
|
1683
1717
|
|
|
1684
1718
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
1685
1719
|
var util = __webpack_require__(0);
|
|
1686
1720
|
|
|
1687
1721
|
// EXTERNAL MODULE: external "qs"
|
|
1688
|
-
var external_qs_ = __webpack_require__(
|
|
1722
|
+
var external_qs_ = __webpack_require__(7);
|
|
1689
1723
|
var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
1690
1724
|
|
|
1691
1725
|
// CONCATENATED MODULE: ./src/utils/axios.js
|
|
@@ -1694,168 +1728,157 @@ var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
|
1694
1728
|
|
|
1695
1729
|
|
|
1696
1730
|
var apiUrl = util["a" /* default */].getStorage('host');
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
headers: {
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
config.data = external_qs_default.a.stringify(data);
|
|
1731
|
+
|
|
1732
|
+
var axios_ajax = function ajax(url) {
|
|
1733
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1734
|
+
var headers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1735
|
+
var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
1736
|
+
var type = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'get';
|
|
1737
|
+
|
|
1738
|
+
var http = external_axios_default.a.create({
|
|
1739
|
+
baseURL: apiUrl,
|
|
1740
|
+
timeout: 60000,
|
|
1741
|
+
headers: {
|
|
1742
|
+
// clientKey: 'csjk'
|
|
1743
|
+
},
|
|
1744
|
+
withCredentials: false
|
|
1745
|
+
});
|
|
1746
|
+
http.interceptors.request.use(function (config) {
|
|
1747
|
+
if (type === 'post' && format) {
|
|
1748
|
+
config.data = external_qs_default.a.stringify(params);
|
|
1749
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1750
|
+
config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
1751
|
+
}
|
|
1719
1752
|
} else {
|
|
1720
|
-
config.headers['
|
|
1721
|
-
|
|
1722
|
-
Object.assign(data, config.data);
|
|
1723
|
-
config.data = external_qs_default.a.stringify(data);
|
|
1753
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1754
|
+
config.headers['content-type'] = 'application/json;charset=UTF-8';
|
|
1724
1755
|
}
|
|
1756
|
+
config.data = params;
|
|
1725
1757
|
}
|
|
1726
|
-
} else {
|
|
1727
|
-
Object.assign(config.params, data);
|
|
1728
|
-
config.headers['Content-Type'] = 'application/json;';
|
|
1729
|
-
}
|
|
1730
|
-
if (util["a" /* default */].getStorage('token')) {
|
|
1731
|
-
config.headers.Authorization = util["a" /* default */].getStorage('token');
|
|
1732
|
-
}
|
|
1733
|
-
if (util["a" /* default */].getStorage('deviceId')) {
|
|
1734
|
-
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1735
|
-
}
|
|
1736
1758
|
|
|
1737
|
-
|
|
1759
|
+
if (util["a" /* default */].getStorage('token')) {
|
|
1760
|
+
config.headers.Authorization = util["a" /* default */].getStorage('token');
|
|
1761
|
+
}
|
|
1762
|
+
if (util["a" /* default */].getStorage('deviceId')) {
|
|
1763
|
+
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1764
|
+
}
|
|
1738
1765
|
|
|
1739
|
-
|
|
1740
|
-
config.headers.clientKey = util["a" /* default */].getStorage('clientKey') || 'csjk2';
|
|
1741
|
-
}
|
|
1742
|
-
if (config.url.search('api/financePhone/') !== -1) {
|
|
1743
|
-
config.baseURL = 'https://release.cdgzjg.cn/';
|
|
1744
|
-
}
|
|
1745
|
-
if (config.url.search('affairs/getHandleInfosnew.json') !== -1) {
|
|
1746
|
-
config.headers = {
|
|
1747
|
-
token: sessionStorage.getItem('token'),
|
|
1748
|
-
oueside_token: sessionStorage.getItem('token'),
|
|
1749
|
-
deviceId: '432a320f99793e39',
|
|
1750
|
-
Authorization: sessionStorage.getItem('token')
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
if (config.url.search('/getmyAccount.json') !== -1) {
|
|
1754
|
-
delete config.params.userId;
|
|
1755
|
-
}
|
|
1756
|
-
if (config.url.search('/sso2/authCenter') !== -1) {
|
|
1757
|
-
delete config.headers.clientKey;
|
|
1758
|
-
delete config.headers.deviceId;
|
|
1759
|
-
}
|
|
1760
|
-
if (config.url.search('/appInfo') !== -1) {
|
|
1761
|
-
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1762
|
-
delete config.headers.clientKey;
|
|
1763
|
-
}
|
|
1764
|
-
if (config.url.search('getPresetCustomInfo') !== -1 || config.url.search('registerNew') !== -1) {
|
|
1765
|
-
// config.baseURL = "/api";
|
|
1766
|
-
config.headers.token = util["a" /* default */].getStorage('token');
|
|
1767
|
-
}
|
|
1768
|
-
if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
|
|
1769
|
-
delete config.headers.deviceId;
|
|
1770
|
-
}
|
|
1771
|
-
// if(config.url.search('getVehicleMaintenanceInfoForAPP') !== -1 ) {
|
|
1772
|
-
// delete config.headers.deviceId
|
|
1773
|
-
// delete config.headers.Authorization
|
|
1774
|
-
// delete config.headers.clientKey
|
|
1775
|
-
// }
|
|
1776
|
-
if (config.url.search('/bpm') !== -1) {
|
|
1777
|
-
// config.baseURL = "/api";
|
|
1778
|
-
// config.headers.Authorization = $.getStorage('token');
|
|
1779
|
-
// config.headers.Deviceunique = $.getStorage('deviceunique');
|
|
1780
|
-
// config.headers.Ssid = $.getStorage('ssid');
|
|
1781
|
-
// delete config.headers.deviceId;
|
|
1782
|
-
// delete config.headers.clientKey;
|
|
1783
|
-
}
|
|
1784
|
-
return config;
|
|
1785
|
-
}, function (error) {
|
|
1786
|
-
return Promise.error(error);
|
|
1787
|
-
});
|
|
1788
|
-
// 响应拦截器
|
|
1766
|
+
var a = '/config/';
|
|
1789
1767
|
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
if (response.data.rCode === 64 || response.data.rCode === 27) {
|
|
1793
|
-
util["a" /* default */].H5TokenInvalid();
|
|
1794
|
-
} else {
|
|
1795
|
-
return Promise.resolve(response.data);
|
|
1768
|
+
if (config.url.search(a) !== -1 && config.url.search('appInfo') === -1) {
|
|
1769
|
+
config.headers.clientKey = util["a" /* default */].getStorage('clientKey') || 'csjk2';
|
|
1796
1770
|
}
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
case 504:
|
|
1836
|
-
error.message = '网络超时';
|
|
1837
|
-
break;
|
|
1838
|
-
case 505:
|
|
1839
|
-
error.message = 'http版本不支持该请求';
|
|
1840
|
-
break;
|
|
1841
|
-
default:
|
|
1842
|
-
error.message = '\u8FDE\u63A5\u9519\u8BEF' + error.response.status;
|
|
1771
|
+
if (config.url.search('api/financePhone/') !== -1) {
|
|
1772
|
+
config.baseURL = 'https://release.cdgzjg.cn/';
|
|
1773
|
+
}
|
|
1774
|
+
if (config.url.search('affairs/getHandleInfosnew.json') !== -1) {
|
|
1775
|
+
config.headers = {
|
|
1776
|
+
token: sessionStorage.getItem('token'),
|
|
1777
|
+
oueside_token: sessionStorage.getItem('token'),
|
|
1778
|
+
deviceId: '432a320f99793e39',
|
|
1779
|
+
Authorization: sessionStorage.getItem('token')
|
|
1780
|
+
};
|
|
1781
|
+
}
|
|
1782
|
+
if (config.url.search('/getmyAccount.json') !== -1) {
|
|
1783
|
+
delete config.params.userId;
|
|
1784
|
+
}
|
|
1785
|
+
if (config.url.search('/sso2/authCenter') !== -1) {
|
|
1786
|
+
delete config.headers.clientKey;
|
|
1787
|
+
delete config.headers.deviceId;
|
|
1788
|
+
}
|
|
1789
|
+
if (config.url.search('/appInfo') !== -1) {
|
|
1790
|
+
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1791
|
+
delete config.headers.clientKey;
|
|
1792
|
+
}
|
|
1793
|
+
if (config.url.search('getPresetCustomInfo') !== -1 || config.url.search('registerNew') !== -1) {
|
|
1794
|
+
config.headers.token = util["a" /* default */].getStorage('token');
|
|
1795
|
+
}
|
|
1796
|
+
if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
|
|
1797
|
+
delete config.headers.deviceId;
|
|
1798
|
+
}
|
|
1799
|
+
return config;
|
|
1800
|
+
}, function (error) {
|
|
1801
|
+
return Promise.error(error);
|
|
1802
|
+
});
|
|
1803
|
+
http.interceptors.response.use(function (response) {
|
|
1804
|
+
if (response.status === 200) {
|
|
1805
|
+
if (response.data.rCode === 64 || response.data.rCode === 27) {
|
|
1806
|
+
util["a" /* default */].H5TokenInvalid();
|
|
1807
|
+
} else {
|
|
1808
|
+
return Promise.resolve(response.data);
|
|
1843
1809
|
}
|
|
1844
1810
|
} else {
|
|
1845
|
-
|
|
1811
|
+
return Promise.reject(response.data);
|
|
1846
1812
|
}
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1813
|
+
}, function (error) {
|
|
1814
|
+
if (error && error.response) {
|
|
1815
|
+
if (error.response.status) {
|
|
1816
|
+
switch (error.response.status) {
|
|
1817
|
+
case 400:
|
|
1818
|
+
error.message = '错误请求';
|
|
1819
|
+
break;
|
|
1820
|
+
case 401:
|
|
1821
|
+
error.message = '未授权,请重新登录';
|
|
1822
|
+
break;
|
|
1823
|
+
case 403:
|
|
1824
|
+
error.message = '登录过期,请重新登录';
|
|
1825
|
+
util["a" /* default */].removeStorage('userId');
|
|
1826
|
+
break;
|
|
1827
|
+
case 404:
|
|
1828
|
+
error.message = '网络请求不存在';
|
|
1829
|
+
break;
|
|
1830
|
+
case 405:
|
|
1831
|
+
error.message = '请求方法错误';
|
|
1832
|
+
break;
|
|
1833
|
+
case 408:
|
|
1834
|
+
error.message = '请求超时';
|
|
1835
|
+
break;
|
|
1836
|
+
case 500:
|
|
1837
|
+
error.message = '服务器端出错';
|
|
1838
|
+
break;
|
|
1839
|
+
case 501:
|
|
1840
|
+
error.message = '网络未实现';
|
|
1841
|
+
break;
|
|
1842
|
+
case 502:
|
|
1843
|
+
error.message = '网络错误';
|
|
1844
|
+
break;
|
|
1845
|
+
case 503:
|
|
1846
|
+
error.message = '服务不可用';
|
|
1847
|
+
break;
|
|
1848
|
+
case 504:
|
|
1849
|
+
error.message = '网络超时';
|
|
1850
|
+
break;
|
|
1851
|
+
case 505:
|
|
1852
|
+
error.message = 'http版本不支持该请求';
|
|
1853
|
+
break;
|
|
1854
|
+
default:
|
|
1855
|
+
error.message = '\u8FDE\u63A5\u9519\u8BEF' + error.response.status;
|
|
1856
|
+
}
|
|
1857
|
+
} else {
|
|
1858
|
+
error.message = '接口出现问题,无法请求';
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
Object(external_eoss_mobile_vant_["Toast"])({
|
|
1862
|
+
message: error.message,
|
|
1863
|
+
duration: 1500,
|
|
1864
|
+
forbidClick: true
|
|
1865
|
+
});
|
|
1866
|
+
return Promise.reject(error);
|
|
1852
1867
|
});
|
|
1853
|
-
|
|
1854
|
-
|
|
1868
|
+
if (type === 'get' || type === 'GET') {
|
|
1869
|
+
return http.get(url, params, headers, format);
|
|
1870
|
+
} else {
|
|
1871
|
+
return http.post(url, params, headers, format);
|
|
1872
|
+
}
|
|
1873
|
+
};
|
|
1874
|
+
|
|
1875
|
+
// 响应拦截器
|
|
1855
1876
|
|
|
1856
1877
|
var base = {
|
|
1857
1878
|
get: function get(url) {
|
|
1858
1879
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1880
|
+
var headers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1881
|
+
var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
1859
1882
|
|
|
1860
1883
|
if (params.params && url.search('registerNew') === -1) {
|
|
1861
1884
|
params.params.userId = params.params.userId ? params.params.userId : util["a" /* default */].getStorage('userId');
|
|
@@ -1872,19 +1895,17 @@ var base = {
|
|
|
1872
1895
|
params.userId = 'u1b9f3ce4731649e0b665af015d74c19b';
|
|
1873
1896
|
}
|
|
1874
1897
|
}
|
|
1875
|
-
return
|
|
1898
|
+
return axios_ajax(url, {
|
|
1876
1899
|
params: params
|
|
1877
|
-
});
|
|
1900
|
+
}, headers, format);
|
|
1878
1901
|
},
|
|
1879
|
-
post: function post(url) {
|
|
1880
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1881
|
-
|
|
1902
|
+
post: function post(url, params, headers, format) {
|
|
1882
1903
|
if (params.params) {
|
|
1883
1904
|
params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
|
|
1884
1905
|
} else {
|
|
1885
1906
|
params.userId = params.userId || util["a" /* default */].getStorage('userId');
|
|
1886
1907
|
}
|
|
1887
|
-
return
|
|
1908
|
+
return axios_ajax(url, params, headers, format, 'post');
|
|
1888
1909
|
}
|
|
1889
1910
|
};
|
|
1890
1911
|
/* harmony default export */ var axios = (base);
|
|
@@ -1894,19 +1915,19 @@ var http_request = function request(options) {
|
|
|
1894
1915
|
var fn = void 0;
|
|
1895
1916
|
switch (options.type) {
|
|
1896
1917
|
case 'post':
|
|
1897
|
-
fn = axios.post(options.url, options.params);
|
|
1918
|
+
fn = axios.post(options.url, options.params, options.headers, options.format);
|
|
1898
1919
|
break;
|
|
1899
1920
|
case 'POST':
|
|
1900
|
-
fn = axios.post(options.url, options.params);
|
|
1921
|
+
fn = axios.post(options.url, options.params, options.headers, options.format);
|
|
1901
1922
|
break;
|
|
1902
1923
|
case 'get':
|
|
1903
|
-
fn = axios.get(options.url, options.params);
|
|
1924
|
+
fn = axios.get(options.url, options.params, options.headers = {});
|
|
1904
1925
|
break;
|
|
1905
1926
|
case 'GET':
|
|
1906
|
-
fn = axios.get(options.url, options.params);
|
|
1927
|
+
fn = axios.get(options.url, options.params, options.headers = {});
|
|
1907
1928
|
break;
|
|
1908
1929
|
default:
|
|
1909
|
-
fn = axios.get(options.url, options.params);
|
|
1930
|
+
fn = axios.get(options.url, options.params, options.headers = {});
|
|
1910
1931
|
}
|
|
1911
1932
|
return fn;
|
|
1912
1933
|
};
|
|
@@ -1966,14 +1987,14 @@ var http_request = function request(options) {
|
|
|
1966
1987
|
/***/ 4:
|
|
1967
1988
|
/***/ (function(module, exports) {
|
|
1968
1989
|
|
|
1969
|
-
module.exports = require("
|
|
1990
|
+
module.exports = require("eoss-mobile-vant");
|
|
1970
1991
|
|
|
1971
1992
|
/***/ }),
|
|
1972
1993
|
|
|
1973
1994
|
/***/ 5:
|
|
1974
1995
|
/***/ (function(module, exports) {
|
|
1975
1996
|
|
|
1976
|
-
module.exports = require("eoss-
|
|
1997
|
+
module.exports = require("@eoss-design/color");
|
|
1977
1998
|
|
|
1978
1999
|
/***/ }),
|
|
1979
2000
|
|
|
@@ -2415,14 +2436,14 @@ main.install = function (Vue) {
|
|
|
2415
2436
|
/***/ 6:
|
|
2416
2437
|
/***/ (function(module, exports) {
|
|
2417
2438
|
|
|
2418
|
-
module.exports = require("
|
|
2439
|
+
module.exports = require("axios");
|
|
2419
2440
|
|
|
2420
2441
|
/***/ }),
|
|
2421
2442
|
|
|
2422
2443
|
/***/ 7:
|
|
2423
2444
|
/***/ (function(module, exports) {
|
|
2424
2445
|
|
|
2425
|
-
module.exports = require("
|
|
2446
|
+
module.exports = require("qs");
|
|
2426
2447
|
|
|
2427
2448
|
/***/ }),
|
|
2428
2449
|
|