Bogue
| Numéro d’ID de bogue | BUG-000134383 |
|---|---|
| Envoi | October 6, 2020 |
| Dernière modification | August 5, 2025 |
| S’applique à | ArcGIS Experience Builder developer edition |
| Version trouvée | 1.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | 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 de bogue: BUG-000134383
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support