From a2ce10d1ba0f22aecd86d9b15798d4e36f8c50db Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 24 Mar 2025 15:59:43 +0800 Subject: [PATCH] =?UTF-8?q?bug#1957=E4=BD=BF=E7=94=A8=E5=B7=B2=E6=9C=89?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=9C=80=E8=A6=81=E6=8A=8A=E4=B8=8B=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E6=A0=87=E7=AD=BE=E5=90=8D=E7=A7=B0=E9=9A=90=E8=97=8F?= =?UTF-8?q?=EF=BC=8C=E5=8F=AA=E6=9C=89=E6=96=B0=E5=BB=BA=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=97=B6=E6=89=8D=E9=9C=80=E8=A6=81=E6=9C=89=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/smartExcel/cpts/export-view.vue | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/views/modules/base/smartExcel/cpts/export-view.vue b/src/views/modules/base/smartExcel/cpts/export-view.vue index 13675311c..67bd75130 100644 --- a/src/views/modules/base/smartExcel/cpts/export-view.vue +++ b/src/views/modules/base/smartExcel/cpts/export-view.vue @@ -159,13 +159,17 @@ - + 使用常用标签: + + + - {{ item.tagName }} @@ -270,10 +274,10 @@ - + @@ -642,6 +646,10 @@ export default { } }, handelClickTag(item) { + this.tagList.forEach(tag => { + tag.isHighlighted = false; + }); + item.isHighlighted = true; this.initForm("view", item); }, async fetchData(url, params) { @@ -1039,6 +1047,8 @@ export default { await this.saveLuckysheetHead() }, async handleSelect(item) { + item.isHighlighted = true; + this.tagList.unshift(item); await this.initForm("edit", item); }, handleCellEditBefore(e) { @@ -1228,6 +1238,10 @@ export default { };