From f05a8d7f499b616f9110628e5bdb939406d637e4 Mon Sep 17 00:00:00 2001
From: fanluyan <754122931@qq.com>
Date: Fri, 12 Jan 2024 10:58:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E4=BB=B6=E8=B7=AF?=
=?UTF-8?q?=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/upgradation/index.vue | 38 ++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/src/views/upgradation/index.vue b/src/views/upgradation/index.vue
index f01d2d0..f6d55b8 100644
--- a/src/views/upgradation/index.vue
+++ b/src/views/upgradation/index.vue
@@ -51,7 +51,26 @@
label="创建时间"
width="180"
>
-
+
+
+
+ {{ scope.row.fileName }}
+
+
+
+
+
+ {{ scope.row.path }}
+
+
@@ -135,6 +154,23 @@ export default {
this.getUpgradeList();
},
methods: {
+ //双击选中复制
+ handleDblClick(val) {
+ // alert(val);
+ var input = document.createElement("input"); // 创建input对象
+ input.value = val; // 设置复制内容
+ document.body.appendChild(input); // 添加临时实例
+ input.select(); // 选择实例内容
+ document.execCommand("Copy"); // 执行复制
+ document.body.removeChild(input); // 删除临时实例
+ //this.$message.success("复制成功!");
+ this.$message({
+ duration: 1500,
+ showClose: true,
+ message: "复制成功!" + val,
+ type: "success",
+ });
+ },
//点击升级确定
beforeAvatarUpload(file) {
console.log(this.reportData.title);