Update guide2
This commit is contained in:
parent
a87763fdd0
commit
6eb731b6fb
@ -94,7 +94,7 @@ class MyProject extends Component {
|
|||||||
Alert.alert('提示', '刚刚更新失败了,版本被回滚.');
|
Alert.alert('提示', '刚刚更新失败了,版本被回滚.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
doUpdate = async info => {
|
doUpdate = async (info) => {
|
||||||
try {
|
try {
|
||||||
const hash = await downloadUpdate(info);
|
const hash = await downloadUpdate(info);
|
||||||
Alert.alert('提示', '下载完毕,是否重启应用?', [
|
Alert.alert('提示', '下载完毕,是否重启应用?', [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user