From 0c38f694fb75bb032187406c3560581d6c13868e Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Mon, 25 Mar 2024 09:35:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activityList/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/activityList/index.vue b/src/views/activityList/index.vue index b92fdfb..21a5980 100644 --- a/src/views/activityList/index.vue +++ b/src/views/activityList/index.vue @@ -144,6 +144,7 @@ export default { termsData: [], termsLoading: true, activityName: "", + activityNameTitle: "", protocolMap: { 65280: "国网I1", 65296: "陕西", @@ -173,6 +174,7 @@ export default { this.copyToClipboard(columnData.join("\n")); console.log(columnData); this.activityForm.cmdidArr = columnData.join("\n"); + this.activityForm.title = this.activityNameTitle; }, copyToClipboard(text) { const textArea = document.createElement("textarea"); @@ -226,6 +228,7 @@ export default { .then((res) => { console.log(res); this.termsLoading = false; + this.activityNameTitle = res.data.activity.title; this.activityName = res.data.activity.title + "(" + res.data.terms.length + ")"; this.termsData = res.data.terms;