@beisen-platform/user-selector
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -40,2 +40,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
_this.onMouseOver = _this.onMouseOver.bind(_assertThisInitialized(_this)); | ||
_this.isSearchFetchStart = false; | ||
return _this; | ||
@@ -155,2 +156,11 @@ } | ||
if (this.isSearchFetchStart === true) { | ||
return React.createElement(Loading, { | ||
style: { | ||
"borderRadius": "5px" | ||
}, | ||
type: "small" | ||
}); | ||
} | ||
if (searchs.length == 0) { | ||
@@ -203,2 +213,6 @@ return React.createElement("div", { | ||
} | ||
if (this.props.isSearchFetching === true && nextProps.isSearchFetching === false) { | ||
this.isSearchFetchStart = false; | ||
} | ||
} | ||
@@ -299,2 +313,3 @@ /* 渲染常用 */ | ||
this.isSearchFetchStart = true; | ||
this.setState({ | ||
@@ -301,0 +316,0 @@ isSearch: true, |
{ | ||
"name": "@beisen-platform/user-selector", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108839
2579