漏洞
| 漏洞 ID 编号 | BUG-000134383 |
|---|---|
| 已提交 | October 6, 2020 |
| 上次修改时间 | August 5, 2025 |
| 适用范围 | ArcGIS Experience Builder developer edition |
| 找到的版本 | 1.1 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 状态 | 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: BUG-000134383
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序