Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentWillMount(){
if (isFirstTime) {
markSuccess()
} else if (isRolledBack) {
Alert.alert('提示', '刚刚更新失败了,版本被回滚.')
}
}
componentDidMount() {
componentWillMount(){
if (isFirstTime) {
markSuccess()
} else if (isRolledBack) {
Alert.alert('提示', '刚刚更新失败了,版本被回滚.')
}
}
doUpdate = info => {