Commit 10cb3555 by 前端

提示

1 parent 7536ee2d
...@@ -54,8 +54,17 @@ export default { ...@@ -54,8 +54,17 @@ export default {
} }
}); });
}, },
handleCheck() { async handleCheck() {
checkUpdate() try {
await checkUpdate()
this.close()
} catch (error) {
uni.showToast({
title: '目前已是最新版本',
duration: 2000,
icon: 'none'
});
}
}, },
open () { open () {
this.$refs.popup.open("center"); this.$refs.popup.open("center");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!