From f12c79d292f794e30a69d9475957844e50c5660a Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 25 Jan 2022 15:04:03 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E5=BE=85=E5=A4=84=E7=90=86=E6=97=B6?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E5=8A=A8=E6=80=81=E4=B8=AD=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=EF=BC=8C=E9=87=8D=E7=BD=AE=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=8F=82=E6=95=B0=E4=B8=BA=E7=A9=BA=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=A1=AE=E5=AE=9A=E5=90=8E=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=B5=81=E7=A8=8B=E4=B8=8D=E5=AD=98=E5=9C=A8=E6=88=96?= =?UTF-8?q?=E8=80=85=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/pages/manage/components/ProjectLog.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/resources/assets/js/pages/manage/components/ProjectLog.vue b/resources/assets/js/pages/manage/components/ProjectLog.vue index 81d8526c..120b0f96 100644 --- a/resources/assets/js/pages/manage/components/ProjectLog.vue +++ b/resources/assets/js/pages/manage/components/ProjectLog.vue @@ -216,11 +216,14 @@ export default { return list } if (this.taskId > 0 && $A.isJson(record.flow)) { - list.push({ - id, - button: '重置', - content: `确定重置为【${$A.getMiddle(record.flow.flow_item_name, "|")}】吗?`, - }) + let name = $A.getMiddle(record.flow.flow_item_name, "|") + if (name) { + list.push({ + id, + button: '重置', + content: `确定重置为【${name}】吗?`, + }) + } } return list; },