hrsass-components 1.7.58 → 1.7.59

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.
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
65
65
  var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
66
66
  var saveSvgAsPng = require('save-svg-as-png');
67
67
 
68
- var version = "1.7.58";
68
+ var version = "1.7.59";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -3912,12 +3912,13 @@ var HrSelectEmp = {
3912
3912
  },
3913
3913
  handleChange: function handleChange(searchValue) {
3914
3914
  this.searchValue = searchValue || '';
3915
+ //修复全删,input框清除不了
3916
+ this.$emit('change', undefined);
3915
3917
  },
3916
3918
  handleSelect: function handleSelect(value, vnode) {
3917
3919
  if (value && value.indexOf('$$') > -1) {
3918
3920
  value = value.substr(0, value.indexOf('$$'));
3919
3921
  }
3920
- console.log(value);
3921
3922
  var val = value ? +value : undefined;
3922
3923
  var allVal = vnode ? _.cloneDeep(vnode.data.attrs.data) : null;
3923
3924
  this.$emit('change', val, allVal);
@@ -3929,7 +3930,7 @@ var HrSelectEmp = {
3929
3930
  }
3930
3931
  },
3931
3932
  handleFocus: function handleFocus() {
3932
- // this.searchValue = '';
3933
+ //this.searchValue = '';
3933
3934
  },
3934
3935
  isValueExist: function isValueExist() {
3935
3936
  var _this2 = this;
@@ -4118,6 +4119,12 @@ var HrRichText = {
4118
4119
  require("tinymce/plugins/emoticons/js/emojis");
4119
4120
  }
4120
4121
  });
4122
+ },
4123
+ onchange: function onchange() {
4124
+ var props = _objectSpread$8(_objectSpread$8({}, this.$props), {}, {
4125
+ init: this.initReset
4126
+ });
4127
+ this.$emit('change', props.value);
4121
4128
  }
4122
4129
  },
4123
4130
  mounted: function mounted() {},
@@ -4126,6 +4133,8 @@ var HrRichText = {
4126
4133
  var props = _objectSpread$8(_objectSpread$8({}, this.$props), {}, {
4127
4134
  init: this.initReset
4128
4135
  });
4136
+ console.log('props', props);
4137
+ console.log('props-value', this.value);
4129
4138
  if (this.readOnly) {
4130
4139
  props.disabled = true;
4131
4140
  }
@@ -4638,11 +4647,6 @@ var HrDynamic = {
4638
4647
  value: value,
4639
4648
  init: richInit,
4640
4649
  disabled: disabled
4641
- },
4642
- on: {
4643
- "change": function change(val) {
4644
- _this.$emit("change", val);
4645
- }
4646
4650
  }
4647
4651
  })]);
4648
4652
  }
@@ -7276,8 +7280,8 @@ var HrTableBase = {
7276
7280
  },
7277
7281
  style: {
7278
7282
  width: "".concat(item.width, "px"),
7279
- color: item.fontColor
7280
- } //扩展自定义字体颜色功能
7283
+ color: item.textColor
7284
+ } //扩展textColor自定义字体颜色功能
7281
7285
  ,
7282
7286
  "class": cellClass
7283
7287
  }, [text, item.encryption && !this._isEmpty(v) && h(antDesignVue.Icon, {