Error
| Número de ID del error | BUG-000134383 |
|---|---|
| Enviado | October 6, 2020 |
| Última modificación | August 5, 2025 |
| Relacionado con | ArcGIS Experience Builder developer edition |
| Versión encontrada | 1.1 |
| Sistema operativo | Windows OS |
| Versión de sistema operativo | 10.0 64 Bit |
| Estado | 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`
}
}
}
ID del error: BUG-000134383
Software:
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri