hrsass-components 2.1.7 → 2.1.9
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/hrsass-components.js +14 -5
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +10480 -0
package/lib/hrsass-components.js
CHANGED
|
@@ -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 = "2.1.
|
|
68
|
+
var version = "2.1.9";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -3955,6 +3955,9 @@ var HrSelectEmp = {
|
|
|
3955
3955
|
handleBlur: function handleBlur() {
|
|
3956
3956
|
if (this.searchValue === '') {
|
|
3957
3957
|
this.handleSelect('');
|
|
3958
|
+
} else {
|
|
3959
|
+
//this.searchValue = `${this.value || ''}`;
|
|
3960
|
+
this.searchValue = this.getDisplayVal();
|
|
3958
3961
|
}
|
|
3959
3962
|
},
|
|
3960
3963
|
handleFocus: function handleFocus() {
|
|
@@ -3996,6 +3999,7 @@ var HrSelectEmp = {
|
|
|
3996
3999
|
return h("a-auto-complete", {
|
|
3997
4000
|
props: props,
|
|
3998
4001
|
on: _objectSpread$7(_objectSpread$7({}, this.$listeners), {}, {
|
|
4002
|
+
//
|
|
3999
4003
|
search: function search(val) {
|
|
4000
4004
|
return _this4.handleSearch(val);
|
|
4001
4005
|
},
|
|
@@ -14059,11 +14063,16 @@ var index$f = {
|
|
|
14059
14063
|
getPopupContainer: function getPopupContainer() {
|
|
14060
14064
|
var _this = this;
|
|
14061
14065
|
return function (trigger, dialogContext) {
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14066
|
+
if (dialogContext) {
|
|
14067
|
+
// 弹出层的容器
|
|
14068
|
+
var containerEl = _this.$refs.contentContainer;
|
|
14069
|
+
if (containerEl.parentElement === dialogContext.$refs.body && containerEl.scrollHeight > containerEl.clientHeight) {
|
|
14070
|
+
return containerEl;
|
|
14071
|
+
} else {
|
|
14072
|
+
return dialogContext.getDialogWrap();
|
|
14073
|
+
}
|
|
14065
14074
|
} else {
|
|
14066
|
-
return
|
|
14075
|
+
return document.body;
|
|
14067
14076
|
}
|
|
14068
14077
|
};
|
|
14069
14078
|
}
|