@zgfe/business-lib 1.1.37-beta.3 → 1.1.37
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/select/index.js
CHANGED
|
@@ -85,12 +85,10 @@ var BizSelect = function BizSelect(props) {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
var getCheckedData = function getCheckedData(data) {
|
|
88
|
-
var _props$options;
|
|
89
88
|
var result = data;
|
|
90
|
-
|
|
89
|
+
props.options.forEach(function (option) {
|
|
91
90
|
if (props.type === 'group') {
|
|
92
|
-
|
|
93
|
-
(_option$children = option.children) === null || _option$children === void 0 ? void 0 : _option$children.forEach(function (child) {
|
|
91
|
+
option.children.forEach(function (child) {
|
|
94
92
|
if (data[keyField] === child[keyField]) {
|
|
95
93
|
result = child;
|
|
96
94
|
}
|
|
@@ -87,28 +87,7 @@ var DataAttribute = function DataAttribute(props) {
|
|
|
87
87
|
setMasterList([]);
|
|
88
88
|
}
|
|
89
89
|
}).catch(function () {
|
|
90
|
-
setMasterList([
|
|
91
|
-
id: 95,
|
|
92
|
-
value: 95,
|
|
93
|
-
appId: 501313,
|
|
94
|
-
name: '订单创建时间',
|
|
95
|
-
propType: 3,
|
|
96
|
-
required: 1,
|
|
97
|
-
isOrderShow: 1,
|
|
98
|
-
isUserShow: 1,
|
|
99
|
-
columnName: 'cus7',
|
|
100
|
-
isDelete: null,
|
|
101
|
-
isUniqueOrder: '',
|
|
102
|
-
isUniqueUser: '',
|
|
103
|
-
isUniqueCreatedate: 'Y',
|
|
104
|
-
isUniquePaydate: '',
|
|
105
|
-
orderRelationSon: '',
|
|
106
|
-
createDate: 1681925736000,
|
|
107
|
-
updateDateTime: 1681925789000,
|
|
108
|
-
hidden: null,
|
|
109
|
-
attrOrder: 153,
|
|
110
|
-
requestHide: null
|
|
111
|
-
}]);
|
|
90
|
+
setMasterList([]);
|
|
112
91
|
});
|
|
113
92
|
onChange(_objectSpread({}, condition));
|
|
114
93
|
}
|