eoss-ui 0.4.73 → 0.4.75

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.
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/input.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/login.js CHANGED
@@ -1513,8 +1513,8 @@ var getStorage = function getStorage(key) {
1513
1513
  * @param {String} [attr] - 样式属性名
1514
1514
  **/
1515
1515
 
1516
- var getStyle = function getStyle(dom, attr) {
1517
- if (dom.style[attr]) {
1516
+ var getStyle = function getStyle(dom, attr, exclude) {
1517
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1518
1518
  return dom.style[attr];
1519
1519
  }
1520
1520
  if (win.getComputedStyle) {
package/lib/main.js CHANGED
@@ -1513,8 +1513,8 @@ var getStorage = function getStorage(key) {
1513
1513
  * @param {String} [attr] - 样式属性名
1514
1514
  **/
1515
1515
 
1516
- var getStyle = function getStyle(dom, attr) {
1517
- if (dom.style[attr]) {
1516
+ var getStyle = function getStyle(dom, attr, exclude) {
1517
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1518
1518
  return dom.style[attr];
1519
1519
  }
1520
1520
  if (win.getComputedStyle) {
@@ -3430,7 +3430,7 @@ module.exports = require("stompjs");
3430
3430
  // ESM COMPAT FLAG
3431
3431
  __webpack_require__.r(__webpack_exports__);
3432
3432
 
3433
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=da442792&
3433
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=9f5f5106&
3434
3434
  var render = function () {
3435
3435
  var _vm = this
3436
3436
  var _h = _vm.$createElement
@@ -3860,7 +3860,7 @@ var staticRenderFns = []
3860
3860
  render._withStripped = true
3861
3861
 
3862
3862
 
3863
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=da442792&
3863
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=9f5f5106&
3864
3864
 
3865
3865
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
3866
3866
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -7283,6 +7283,9 @@ var log = util["a" /* default */].getParams('console');
7283
7283
  }
7284
7284
  }
7285
7285
  }
7286
+ this.$nextTick(function () {
7287
+ _this9.showPage = true;
7288
+ });
7286
7289
  },
7287
7290
 
7288
7291
  //设置回调
package/lib/nav.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/page.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/player.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/qr-code.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/select.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
@@ -1513,8 +1513,8 @@ var getStorage = function getStorage(key) {
1513
1513
  * @param {String} [attr] - 样式属性名
1514
1514
  **/
1515
1515
 
1516
- var getStyle = function getStyle(dom, attr) {
1517
- if (dom.style[attr]) {
1516
+ var getStyle = function getStyle(dom, attr, exclude) {
1517
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1518
1518
  return dom.style[attr];
1519
1519
  }
1520
1520
  if (win.getComputedStyle) {
package/lib/selector.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/sizer.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/steps.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/switch.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/table-form.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/tabs.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/tips.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/tree-group.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
@@ -3366,7 +3366,7 @@ module.exports = require("json-bigint");
3366
3366
  // ESM COMPAT FLAG
3367
3367
  __webpack_require__.r(__webpack_exports__);
3368
3368
 
3369
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=7c060708&
3369
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
3370
3370
  var render = function () {
3371
3371
  var _vm = this
3372
3372
  var _h = _vm.$createElement
@@ -3679,7 +3679,7 @@ var staticRenderFns = []
3679
3679
  render._withStripped = true
3680
3680
 
3681
3681
 
3682
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=7c060708&
3682
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
3683
3683
 
3684
3684
  // EXTERNAL MODULE: ./src/utils/util.js
3685
3685
  var util = __webpack_require__(0);
@@ -3880,7 +3880,11 @@ var util = __webpack_require__(0);
3880
3880
  default: '#/empty'
3881
3881
  },
3882
3882
  zoom: false,
3883
- checkedsAsSearch: {
3883
+ clickedAsSearch: {
3884
+ type: Boolean,
3885
+ default: true
3886
+ },
3887
+ checkedAsSearch: {
3884
3888
  type: Boolean,
3885
3889
  default: true
3886
3890
  }
@@ -4072,7 +4076,9 @@ var util = __webpack_require__(0);
4072
4076
  this.$emit('tab-click', this.tabs[parseInt(this.active, 10)]);
4073
4077
  },
4074
4078
  handleNodeClick: function handleNodeClick(data, node) {
4075
- this.checkeds = data;
4079
+ if (this.clickedAsSearch) {
4080
+ this.checkeds = data;
4081
+ }
4076
4082
  if (this.onNodeClick) {
4077
4083
  this.onNodeClick(this, data, node);
4078
4084
  } else {
@@ -4082,7 +4088,7 @@ var util = __webpack_require__(0);
4082
4088
  handleCheckChange: function handleCheckChange() {
4083
4089
  var ref = this.tabs && this.tabs.length ? this.tabs[Number(this.active)].ref ? this.tabs[Number(this.active)].ref : 'groupTree' + this.active : 'groupTree';
4084
4090
  var checkeds = this.$refs[ref].getCheckedNodes();
4085
- if (this.checkedsAsSearch) {
4091
+ if (this.checkedAsSearch) {
4086
4092
  this.checkeds = checkeds;
4087
4093
  }
4088
4094
  if (this.onCheckChange) {
@@ -4099,7 +4105,7 @@ var util = __webpack_require__(0);
4099
4105
  this.$emit('enterprise-confirm', res);
4100
4106
  },
4101
4107
  handleResults: function handleResults(res) {
4102
- if (this.tree.showCheckbox && this.tree.checkedFirst && this.checkedsAsSearch || this.tree.currentFirst) {
4108
+ if (this.tree.showCheckbox && this.tree.checkedFirst && this.checkedAsSearch || this.tree.currentFirst) {
4103
4109
  this.checkeds = res[0];
4104
4110
  }
4105
4111
  this.$emit('results', res);
package/lib/tree.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/upload.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/utils/util.js CHANGED
@@ -1429,8 +1429,8 @@ var getStorage = function getStorage(key) {
1429
1429
  * @param {String} [attr] - 样式属性名
1430
1430
  **/
1431
1431
 
1432
- var getStyle = function getStyle(dom, attr) {
1433
- if (dom.style[attr]) {
1432
+ var getStyle = function getStyle(dom, attr, exclude) {
1433
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1434
1434
  return dom.style[attr];
1435
1435
  }
1436
1436
  if (win.getComputedStyle) {
package/lib/wujie.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/lib/wxlogin.js CHANGED
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
1514
1514
  * @param {String} [attr] - 样式属性名
1515
1515
  **/
1516
1516
 
1517
- var getStyle = function getStyle(dom, attr) {
1518
- if (dom.style[attr]) {
1517
+ var getStyle = function getStyle(dom, attr, exclude) {
1518
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1519
1519
  return dom.style[attr];
1520
1520
  }
1521
1521
  if (win.getComputedStyle) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.4.73",
3
+ "version": "0.4.75",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -808,14 +808,14 @@ export default {
808
808
  });
809
809
  } else {
810
810
  this.list = [];
811
- this.tableHeight = false;
811
+ //this.tableHeight = false;
812
812
  let msg = res.msg || '系统错误,请联系管理员!';
813
813
  this.$message.error(msg);
814
814
  }
815
815
  this.$emit('success', res);
816
816
  })
817
817
  .catch((err) => {
818
- this.tableHeight = false;
818
+ //this.tableHeight = false;
819
819
  if (err.message && err.message !== 'canceled') {
820
820
  this.$message.error(err.message);
821
821
  }
@@ -1208,7 +1208,10 @@ export default {
1208
1208
  },
1209
1209
  resetHeight(warn) {
1210
1210
  if (this.full && !this.height && !this.maxHeight) {
1211
- let height = parseInt(util.getStyle(this.$el.parentNode, 'height'), 10);
1211
+ let height = parseInt(
1212
+ util.getStyle(this.$el.parentNode, 'height', '%'),
1213
+ 10
1214
+ );
1212
1215
  height =
1213
1216
  (height == NaN ? 0 : height) -
1214
1217
  parseInt(util.getStyle(this.$el.parentNode, 'padding-top'), 10) -
@@ -1692,6 +1692,9 @@ export default {
1692
1692
  }
1693
1693
  }
1694
1694
  }
1695
+ this.$nextTick(() => {
1696
+ this.showPage = true;
1697
+ });
1695
1698
  },
1696
1699
  //设置回调
1697
1700
  handleChange(res) {
@@ -193,7 +193,11 @@ export default {
193
193
  default: '#/empty'
194
194
  },
195
195
  zoom: false,
196
- checkedsAsSearch: {
196
+ clickedAsSearch: {
197
+ type: Boolean,
198
+ default: true
199
+ },
200
+ checkedAsSearch: {
197
201
  type: Boolean,
198
202
  default: true
199
203
  }
@@ -410,7 +414,9 @@ export default {
410
414
  this.$emit('tab-click', this.tabs[parseInt(this.active, 10)]);
411
415
  },
412
416
  handleNodeClick(data, node) {
413
- this.checkeds = data;
417
+ if (this.clickedAsSearch) {
418
+ this.checkeds = data;
419
+ }
414
420
  if (this.onNodeClick) {
415
421
  this.onNodeClick(this, data, node);
416
422
  } else {
@@ -425,7 +431,7 @@ export default {
425
431
  : 'groupTree' + this.active
426
432
  : 'groupTree';
427
433
  let checkeds = this.$refs[ref].getCheckedNodes();
428
- if (this.checkedsAsSearch) {
434
+ if (this.checkedAsSearch) {
429
435
  this.checkeds = checkeds;
430
436
  }
431
437
  if (this.onCheckChange) {
@@ -445,7 +451,7 @@ export default {
445
451
  if (
446
452
  (this.tree.showCheckbox &&
447
453
  this.tree.checkedFirst &&
448
- this.checkedsAsSearch) ||
454
+ this.checkedAsSearch) ||
449
455
  this.tree.currentFirst
450
456
  ) {
451
457
  this.checkeds = res[0];
package/src/index.js CHANGED
@@ -115,7 +115,7 @@ if (typeof window !== 'undefined' && window.Vue) {
115
115
  }
116
116
 
117
117
  export default {
118
- version: '0.4.73',
118
+ version: '0.4.75',
119
119
  install,
120
120
  Button,
121
121
  ButtonGroup,
package/src/utils/util.js CHANGED
@@ -1440,8 +1440,8 @@ const getStorage = function (key) {
1440
1440
  * @param {String} [attr] - 样式属性名
1441
1441
  **/
1442
1442
 
1443
- const getStyle = function (dom, attr) {
1444
- if (dom.style[attr]) {
1443
+ const getStyle = function (dom, attr, exclude) {
1444
+ if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
1445
1445
  return dom.style[attr];
1446
1446
  }
1447
1447
  if (win.getComputedStyle) {