From 09854fac6d40988939559189fdd21582ca7651ab Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 5 Mar 2021 16:16:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8DESLint=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/dataset/data/UpdateInfo.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/dataset/data/UpdateInfo.vue b/frontend/src/views/dataset/data/UpdateInfo.vue index be5c615145..6d9a5d0f96 100644 --- a/frontend/src/views/dataset/data/UpdateInfo.vue +++ b/frontend/src/views/dataset/data/UpdateInfo.vue @@ -90,7 +90,7 @@ - + @@ -157,13 +157,15 @@ type="primary" icon="el-icon-edit" circle - @click="addTask(scope.row)"/> + @click="addTask(scope.row)" + /> + @click="deleteTask(scope.row)" + /> @@ -184,7 +186,10 @@ import { post } from '@/api/dataset/dataset' export default { name: 'UpdateInfo', props: { - table: Object + table: { + type: Object, + default: null + } }, data() { return {