Bug
| Bug-ID-Nummer | BUG-000134383 |
|---|---|
| Eingereicht | October 6, 2020 |
| Zuletzt geändert | August 5, 2025 |
| Gilt für | ArcGIS Experience Builder developer edition |
| Gefunden in Version | 1.1 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Status | In Product Plan |
Detect the null value of the token before the login, and then check if the token exists in the componentDidUpdate function.
Code snippet:
static mapExtraStateProps = (state: IMState, props: AllWidgetProps<IMConfig>): Props => {
if (!state.token) {
return{
userLog: state.token
};
};
componentDidUpdate(){
const {userLog} = this.props
if (userLog) {
do something
}
else{
do something else`
}
}
}
Bug-ID: BUG-000134383
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen