ztxkui 4.2.18-90 → 4.2.18-91

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/dist/Demo.js CHANGED
@@ -137,7 +137,7 @@ function Demo() {
137
137
  React.createElement(EnhanceSelect, { style: selectStyle, placeholder: i18next.t('一次性加载数据'), url: "http://base-test.zmdms.com.cn:30079/api/zmdms-system/company/list", request: request, dataKey: "id", titleKey: "name", isClickRequest: true, isPaste: true, isCatch: true, mode: "multiple", value: value3, onChange: function (value, option, fullData) {
138
138
  console.log(value);
139
139
  setValue3(value);
140
- }, open: false }),
140
+ } }),
141
141
  React.createElement("p", null, i18next.t('异步获取数据')),
142
142
  React.createElement("button", { onClick: function () {
143
143
  setParams1(JSON.stringify({
@@ -280,9 +280,8 @@ function EnhanceSelect(_a) {
280
280
  function pasteHandle(value) {
281
281
  if (isPaste && restProps.mode === 'multiple') {
282
282
  var pasteRuleIndex = pasteRule.findIndex(function (item) { return value.indexOf(item) !== -1; });
283
- if (pasteRuleIndex !== -1 || pasteRule) {
283
+ if (pasteRuleIndex !== -1 || isPasteAddItem) {
284
284
  var splitStr = pasteRuleIndex !== -1 ? pasteRule[pasteRuleIndex] : ' ';
285
- debugger;
286
285
  var resultValue = value.split(splitStr);
287
286
  resultValue = Array.from(new Set(resultValue));
288
287
  if (Array.isArray(restProps.value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.18-90",
3
+ "version": "4.2.18-91",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",