From a931d7006fe8726819deed9615dd3e8ec45c885c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 6 Nov 2023 14:53:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=9F=E8=B8=AA=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E4=B8=8D=E6=B8=85=E9=99=A4=E4=B8=8A=E6=AC=A1=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/traceManage/task/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/traceManage/task/index.vue b/src/views/traceManage/task/index.vue index dcdc716b..58757c8c 100644 --- a/src/views/traceManage/task/index.vue +++ b/src/views/traceManage/task/index.vue @@ -114,7 +114,7 @@ let tableColumns: ColumnsType = [ align: 'center', }, { - title: t('views.traceManage.task.trackType'), + title: t('views.traceManage.task.creater'), dataIndex: 'accountId', align: 'center', }, @@ -432,7 +432,7 @@ function fnModalVisibleByVive(id: string) { */ function fnModalVisibleByEdit(id?: string) { if (!id) { - modalStateFrom.resetFields(); + fnModalCancel() modalState.title = t('views.traceManage.task.addTask'); modalState.visibleByEdit = true; } else { @@ -492,8 +492,7 @@ function fnModalOk() { content: t('common.msgSuccess', { msg: modalState.title }), duration: 3, }); - modalState.visibleByEdit = false; - modalStateFrom.resetFields(); + fnModalCancel() } else { message.error({ content: `${res.msg}`,