1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Update guide2

This commit is contained in:
sunnylqm 2019-10-05 12:16:06 +08:00
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('提示', '下载完毕,是否重启应用?', [