diff --git a/frontend/src/components/system-upgrade/index.vue b/frontend/src/components/system-upgrade/index.vue
index 507bdbddd..1852c316b 100644
--- a/frontend/src/components/system-upgrade/index.vue
+++ b/frontend/src/components/system-upgrade/index.vue
@@ -17,7 +17,10 @@
{{ isProductPro ? $t('license.pro') : $t('license.community') }}
- {{ version }}
+
+ {{ copied ? $t('commons.msg.copySuccess') : version }}
+
+ {{ version }}
({{ $t('setting.hasNewVersion') }})
@@ -85,9 +88,11 @@ import { onMounted, ref } from 'vue';
import { GlobalStore } from '@/store';
import { ElMessageBox } from 'element-plus';
import { storeToRefs } from 'pinia';
+import { useClipboard } from '@vueuse/core';
const globalStore = GlobalStore();
const { isDarkTheme } = storeToRefs(globalStore);
+const { copied, copy, isSupported } = useClipboard();
const version = ref('');
const isProductPro = ref();
@@ -190,6 +195,7 @@ onMounted(() => {
color: var(--dark-gold-base-color);
text-decoration: none;
letter-spacing: 0.5px;
+ cursor: pointer;
}
.line-height {
line-height: 25px;