@zat-design/sisyphus-react 3.4.3-beta.13 → 3.4.3-beta.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.
- package/es/ProForm/components/combination/ProModalSelect/index.js +1 -9
- package/es/ProForm/components/old/ProAddress/index.d.ts +1 -0
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +1 -0
- package/es/ProForm/utils/index.js +1 -1
- package/es/ProTree/components/CloseIcon.d.ts +1 -0
- package/es/ProTreeModal/components/CloseIcon.d.ts +1 -0
- package/lib/ProForm/components/combination/ProModalSelect/index.js +1 -9
- package/lib/ProForm/components/old/ProAddress/index.d.ts +1 -0
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +1 -0
- package/lib/ProForm/utils/index.js +1 -1
- package/lib/ProTree/components/CloseIcon.d.ts +1 -0
- package/lib/ProTreeModal/components/CloseIcon.d.ts +1 -0
- package/package.json +1 -1
|
@@ -227,15 +227,6 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
227
227
|
var handleSelectValue = function handleSelectValue(val, option) {
|
|
228
228
|
onChange(val, option);
|
|
229
229
|
};
|
|
230
|
-
// 清空表单项
|
|
231
|
-
var handleClearValue = function handleClearValue() {
|
|
232
|
-
onChange(undefined, {});
|
|
233
|
-
setState({
|
|
234
|
-
_value: undefined,
|
|
235
|
-
selectedRowKeys: [],
|
|
236
|
-
selectedRows: []
|
|
237
|
-
});
|
|
238
|
-
};
|
|
239
230
|
var handleClick = /*#__PURE__*/function () {
|
|
240
231
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
241
232
|
var _yield$beforeOpen, res;
|
|
@@ -674,6 +665,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
674
665
|
showCodeName: showCodeName,
|
|
675
666
|
labelInValue: labelInValue,
|
|
676
667
|
dataSource: options,
|
|
668
|
+
scrollFollowParent: false,
|
|
677
669
|
onClick: function onClick() {
|
|
678
670
|
// 没有值的时候,初始化点击默认查询前五十条
|
|
679
671
|
if (!value && isInit) {
|
|
@@ -135,7 +135,7 @@ export var filterInternalFields = function filterInternalFields(values) {
|
|
|
135
135
|
if (isObject(nextValues)) {
|
|
136
136
|
var result = {};
|
|
137
137
|
Object.keys(nextValues).forEach(function (key) {
|
|
138
|
-
|
|
138
|
+
if (key.includes('-')) return;
|
|
139
139
|
result[key] = filterInternalFields(nextValues[key]);
|
|
140
140
|
});
|
|
141
141
|
return result;
|
|
@@ -224,15 +224,6 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
224
224
|
var handleSelectValue = function handleSelectValue(val, option) {
|
|
225
225
|
onChange(val, option);
|
|
226
226
|
};
|
|
227
|
-
// 清空表单项
|
|
228
|
-
var handleClearValue = function handleClearValue() {
|
|
229
|
-
onChange(undefined, {});
|
|
230
|
-
setState({
|
|
231
|
-
_value: undefined,
|
|
232
|
-
selectedRowKeys: [],
|
|
233
|
-
selectedRows: []
|
|
234
|
-
});
|
|
235
|
-
};
|
|
236
227
|
var handleClick = /*#__PURE__*/function () {
|
|
237
228
|
var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
238
229
|
var _yield$beforeOpen, res;
|
|
@@ -671,6 +662,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
671
662
|
showCodeName: showCodeName,
|
|
672
663
|
labelInValue: labelInValue,
|
|
673
664
|
dataSource: options,
|
|
665
|
+
scrollFollowParent: false,
|
|
674
666
|
onClick: function onClick() {
|
|
675
667
|
// 没有值的时候,初始化点击默认查询前五十条
|
|
676
668
|
if (!value && isInit) {
|
|
@@ -151,7 +151,7 @@ var filterInternalFields = exports.filterInternalFields = function filterInterna
|
|
|
151
151
|
if ((0, _lodash.isObject)(nextValues)) {
|
|
152
152
|
var result = {};
|
|
153
153
|
Object.keys(nextValues).forEach(function (key) {
|
|
154
|
-
|
|
154
|
+
if (key.includes('-')) return;
|
|
155
155
|
result[key] = filterInternalFields(nextValues[key]);
|
|
156
156
|
});
|
|
157
157
|
return result;
|