Erro
| Número de ID do Erro | BUG-000134383 |
|---|---|
| Enviado | October 6, 2020 |
| Última Modificação | August 5, 2025 |
| Aplica-se à | ArcGIS Experience Builder developer edition |
| Versão encontrada | 1.1 |
| Sistema Operacional | Windows OS |
| Versão do Sistema Operacional | 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`
}
}
}
ID do Erro: BUG-000134383
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri