hrsass-components 1.7.13 → 1.7.14

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.13";
68
+ var version = "1.7.14";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -3945,11 +3945,15 @@ var HrAppendix = {
3945
3945
 
3946
3946
  options.props.remove = function (file) {
3947
3947
  return _this7.fileRemove(file, locale);
3948
- };
3948
+ }; //隐藏删除按钮
3949
+
3950
+
3951
+ if (this.readOnly || this.disabled) {
3952
+ options.props.showUploadList = {
3953
+ showRemoveIcon: false
3954
+ };
3955
+ }
3949
3956
 
3950
- options.props.showUploadList = {
3951
- showRemoveIcon: !disabled
3952
- };
3953
3957
  var $appendix;
3954
3958
 
3955
3959
  if (this.listType === "text" && this.$attrs.showUploadList !== false && this.multiple) {
@@ -5460,8 +5464,7 @@ var Setting = {
5460
5464
  isCheckAll = this.isCheckAll,
5461
5465
  indeterminate = this.indeterminate;
5462
5466
  var prefixCls = props.prefixCls,
5463
- _props$mask = props.mask,
5464
- mask = _props$mask === void 0 ? true : _props$mask,
5467
+ mask = props.mask,
5465
5468
  cls = props["class"],
5466
5469
  visible = props.visible,
5467
5470
  data = props.data,