uTools-quickcommand/src/pages/updateWarningPage.vue
2022-04-21 11:44:07 +08:00

41 lines
905 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div
class="fullscreen bg-blue text-white text-center q-pa-md flex flex-center"
>
<div>
<div style="font-size: 20vh">需要升级</div>
<div class="text-h4" style="opacity: 0.4">
uTools 当前版本 {{ version || "过低" }}<br />然而这个插件是基于
{{ requiredversion }} 版本开发的低于该版本可能会出现不可预料的问题
</div>
<q-btn
class="q-mt-xl"
color="white"
text-color="blue"
unelevated
@click="update()"
label="去官网升级"
no-caps
/>
</div>
</div>
</template>
<script>
export default {
data() {
return {
requiredversion: this.$route.params.requiredVersion,
version: this.$route.params.version,
};
},
methods: {
update() {
utools.shellOpenExternal("https://u.tools/");
},
},
};
</script>