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}`,