@zgfe/business-lib 1.0.21-cdp.16 → 1.0.21-cdp.19

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.
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IconFontProps } from '@ant-design/icons/lib/components/IconFont';
3
- import '../assets/iconfont/iconfont.css';
4
3
  interface Props extends IconFontProps {
5
4
  family?: string;
6
5
  size?: number;
@@ -11,7 +11,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
11
11
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
12
 
13
13
  import React, { useMemo } from 'react';
14
- import '../assets/iconfont/iconfont.css';
15
14
 
16
15
  var IconFont = function IconFont(props) {
17
16
  var className = props.className,
@@ -195,7 +195,7 @@ var BizSelect = function BizSelect(props) {
195
195
  BizSelect.defaultProps = {
196
196
  labelField: 'label',
197
197
  keyField: 'id',
198
- popupContainer: true,
198
+ popupContainer: false,
199
199
  destroyPopupOnHide: true,
200
200
  size: 'middle'
201
201
  };
@@ -143,7 +143,7 @@ var SelectOverlay = function SelectOverlay(props) {
143
143
  optionsDom.push(dom);
144
144
  });
145
145
 
146
- if (useTemp) {
146
+ if (useTemp && tempOption) {
147
147
  optionsDom.push(tempOption);
148
148
  }
149
149
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.0.21-cdp.16",
3
+ "version": "1.0.21-cdp.19",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "9738d368da3a50f22bbb1f1b521c68b469ed9870"
61
+ "gitHead": "1dcdf9da0fef422c7bb8db48c55790b40f728f77"
62
62
  }