Skip to content

Commit

Permalink
fix(monkey): set version
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilfish committed Jun 23, 2024
1 parent ac683fc commit 455ad6b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/monkey/src/Ctrl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ const startButtonText = computed(() => {
return `开始获取 ${config.value.isFetchAll ? '全部' : '部分'} 微博`
})
const {
VITE_APP_VERSION,
} = import.meta.env
</script>

<template>
Expand All @@ -124,7 +128,7 @@ const startButtonText = computed(() => {
>
<div class="flex items-center justify-between">
<h2 class="text-5 text-black font-bold">
Weibo archiver, user: {{ config.name }}
Weibo archiver <span class="ml-1 text-3">(v{{ VITE_APP_VERSION }})</span>
</h2>

<button
Expand All @@ -135,6 +139,10 @@ const startButtonText = computed(() => {
</button>
</div>

<h3 class="">
用户名: @{{ config.name }}
</h3>

<n-alert type="info">
<p>
导出完毕后,可在
Expand Down

0 comments on commit 455ad6b

Please sign in to comment.