ztxkui 2.1.7 → 2.1.8

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.
@@ -276,7 +276,7 @@ function EnhanceSelect(_a) {
276
276
  }
277
277
  else {
278
278
  if (typeof restProps.value === 'string' ||
279
- Array.isArray(restProps.value)) {
279
+ (Array.isArray(restProps.value) && restProps.value.length > 0)) {
280
280
  // console.log('第二次请求数据,默认为需要根据主键去请求', restProps.value);
281
281
  setFirstLoading(true);
282
282
  getRemoteDataHandle('', restProps.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",