hrsass-components 1.7.16 → 1.7.17

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.16";
68
+ var version = "1.7.17";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -3542,6 +3542,7 @@ var HrAppendix = {
3542
3542
  return {};
3543
3543
  }
3544
3544
  },
3545
+ customBeforeUpload: Function,
3545
3546
  // 值
3546
3547
  value: {
3547
3548
  type: [String, Number, Array],
@@ -3729,6 +3730,10 @@ var HrAppendix = {
3729
3730
  }
3730
3731
  }
3731
3732
 
3733
+ if (_this2.customBeforeUpload) {
3734
+ result = _this2.customBeforeUpload(file);
3735
+ }
3736
+
3732
3737
  result ? resolve(file) : reject(file);
3733
3738
  });
3734
3739
  },