From 2fcead28e62df4716c7ced71c723fc7ba16e0286 Mon Sep 17 00:00:00 2001
From: "34701892@qq.com" <34701892@qq.com>
Date: Wed, 3 Dec 2025 10:53:42 +0800
Subject: [PATCH] =?UTF-8?q?refactor(article):=20=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=92=8C=E4=BD=9C=E8=80=85=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 格式化标签循环代码,提高可读性
- 添加条件渲染判断,仅在数据存在时显示编辑和二校信息
- 为ETF关联标的添加显示条件判断
---
src/components/article/indexNewsInfo.vue | 37 +++++++++++++++++-------
1 file changed, 26 insertions(+), 11 deletions(-)
diff --git a/src/components/article/indexNewsInfo.vue b/src/components/article/indexNewsInfo.vue
index 1dbcb5b..36fbc8a 100644
--- a/src/components/article/indexNewsInfo.vue
+++ b/src/components/article/indexNewsInfo.vue
@@ -19,17 +19,25 @@
- {{
- item
- }}
+ {{ item }}
- {{
- item
- }}
+ {{ item }}
@@ -49,7 +57,13 @@
-
+
+
-
+
编辑:
{{ props.data.editor }}
-
+
二校:
{{ props.data.secondReviewer }}
-
+
AI关联标的
@@ -84,7 +98,8 @@
:show="LoginShow"
@handlePopupClose="handlePopupClose"
@handlePopupSuccessCallback="handlePopupSuccessCallback"
- @handlePopupErrorCallback="handlePopupErrorCallback" />
+ @handlePopupErrorCallback="handlePopupErrorCallback"
+ />