From d4325ae343f7bfdaa8bc56b3ab72598d0072437e Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Thu, 30 Apr 2026 13:46:00 +0800
Subject: [PATCH] 增加复制功能
---
src/views/menuPage.vue | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/views/menuPage.vue b/src/views/menuPage.vue
index f52206b..6622f79 100644
--- a/src/views/menuPage.vue
+++ b/src/views/menuPage.vue
@@ -71,13 +71,11 @@
</div>
</div>
<p class="system-desc">{{ system.description }}</p>
- <a
- href="#"
+ <div
class="system-link"
- @click.stop="handleSystemLinkClick(system.id)"
>
进入系统 <el-icon><Right /></el-icon>
- </a>
+ </div>
</div>
</section>
</div>
@@ -199,6 +197,16 @@
}
}
+const debounce = (func, wait) => {
+ let timeout
+ return (...args) => {
+ clearTimeout(timeout)
+ timeout = setTimeout(() => {
+ func(...args)
+ }, wait)
+ }
+}
+
const handleSystemLinkClick = (systemId) => {
if(systemId == 1){
router.push({ path: "/menuIndex"});
@@ -207,6 +215,12 @@
}
}
+// const debouncedSubmit = ref(debounce(submitHandle, 500))
+
+// const handleSystemLinkClick = (id) => {
+// debouncedSubmit.value(id)
+// }
+
function getInfo() {
reviewRef.value.openDialog('view',userInfo.value)
}
--
Gitblit v1.9.2