From 024c58dea72380688e57db5c83c0d6d6696b48f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Sun, 16 Mar 2025 11:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=95=B4=E6=80=A7=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Jyh/Version/Detail/VersionInfo.vue | 66 +++++++++++++++++++- 1 file changed, 63 insertions(+), 3 deletions(-) diff --git a/src/views/Jyh/Version/Detail/VersionInfo.vue b/src/views/Jyh/Version/Detail/VersionInfo.vue index f88560b..8647e44 100644 --- a/src/views/Jyh/Version/Detail/VersionInfo.vue +++ b/src/views/Jyh/Version/Detail/VersionInfo.vue @@ -209,7 +209,7 @@ :style="{ width: '800px', height: '400px' }" @close="handleClose" > - + 社区哈希类型 @@ -219,13 +219,16 @@ 社区哈希值 - 23u4guj2i3hni32h2o34io234 + sha5123b831bee9d575a2729065f830a65f830a65f83a65f852... + + + 社区签名校验结果 - 通过 + 通过 @@ -253,6 +256,12 @@ + @@ -263,6 +272,8 @@ import { ref,defineEmits } from 'vue'; import { useRouter } from 'vue-router'; import { discussDetailType, userInfoType } from '@/api/discussion/types'; +import { Message } from 'vue-devui/message'; +import { useClipboard } from '@vueuse/core/index'; const emits = defineEmits(['changeTabs']); @@ -287,10 +298,59 @@ const gotoDetail = (row) => { }); }; +// 跳转 +const handleClose = (row) => { + visible.value = false +}; + +const { copy } = useClipboard(); +const handleCopy = event => { + event.stopPropagation(); + + copy(''); + Message.success('复制成功'); +}; +