eoss-ui 0.4.53 → 0.4.55

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/wujie.js CHANGED
@@ -102,8 +102,6 @@ module.exports =
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  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; };
104
104
 
105
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
106
-
107
105
  /**
108
106
  * 新封装公告方法规范:
109
107
  * 1.方法顺序按字母顺序排列
@@ -207,7 +205,6 @@ var ajax = function ajax(_ref) {
207
205
  });
208
206
  // 请求拦截
209
207
  http.interceptors.request.use(function (config) {
210
- config.header && (config.headers = _extends({}, config.headers, config.header));
211
208
  config.headers.common = getStorage();
212
209
  // 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
213
210
  var requestKey = getRequestKey(config);
@@ -364,7 +361,7 @@ var ajax = function ajax(_ref) {
364
361
  url: url,
365
362
  data: data,
366
363
  params: params,
367
- header: header
364
+ headers: header
368
365
  });
369
366
  };
370
367
 
package/lib/wxlogin.js CHANGED
@@ -102,8 +102,6 @@ module.exports =
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  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; };
104
104
 
105
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
106
-
107
105
  /**
108
106
  * 新封装公告方法规范:
109
107
  * 1.方法顺序按字母顺序排列
@@ -207,7 +205,6 @@ var ajax = function ajax(_ref) {
207
205
  });
208
206
  // 请求拦截
209
207
  http.interceptors.request.use(function (config) {
210
- config.header && (config.headers = _extends({}, config.headers, config.header));
211
208
  config.headers.common = getStorage();
212
209
  // 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
213
210
  var requestKey = getRequestKey(config);
@@ -364,7 +361,7 @@ var ajax = function ajax(_ref) {
364
361
  url: url,
365
362
  data: data,
366
363
  params: params,
367
- header: header
364
+ headers: header
368
365
  });
369
366
  };
370
367
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.4.53",
3
+ "version": "0.4.55",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -6,7 +6,7 @@
6
6
  :width="wd"
7
7
  :height="ht"
8
8
  :close-on-click-modal="shadeClose"
9
- :fullscreen="full"
9
+ :showScale="!full"
10
10
  :drag="drag"
11
11
  :modal-append-to-body="modalAppendToBody"
12
12
  v-bind="$attrs"
@@ -384,7 +384,7 @@ export default {
384
384
  ) {
385
385
  this.full = true;
386
386
  this.wd = '100%';
387
- ht = '100%';
387
+ this.ht = '100%';
388
388
  } else {
389
389
  this.wd = this.width ? this.width : this.sizes[this.size]['width'];
390
390
  this.ht = this.height ? this.height : this.sizes[this.size]['height'];
package/src/index.js CHANGED
@@ -117,7 +117,7 @@ if (typeof window !== 'undefined' && window.Vue) {
117
117
  }
118
118
 
119
119
  export default {
120
- version: '0.4.53',
120
+ version: '0.4.55',
121
121
  install,
122
122
  Button,
123
123
  ButtonGroup,
package/src/utils/util.js CHANGED
@@ -94,8 +94,6 @@ const ajax = function ({
94
94
  // 请求拦截
95
95
  http.interceptors.request.use(
96
96
  config => {
97
- config.header &&
98
- (config.headers = { ...config.headers, ...config.header });
99
97
  config.headers.common = getStorage();
100
98
  // 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
101
99
  let requestKey = getRequestKey(config);
@@ -309,7 +307,7 @@ const ajax = function ({
309
307
  url,
310
308
  data,
311
309
  params,
312
- header
310
+ headers: header
313
311
  });
314
312
  };
315
313