From 8bd74f7c75ffcb7653c2bf8e106119713135c9f2 Mon Sep 17 00:00:00 2001 From: song Date: Sun, 23 Jan 2022 15:48:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/listTable.vue | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/components/listTable.vue b/src/components/listTable.vue index 5fb1f06..e5dfadb 100644 --- a/src/components/listTable.vue +++ b/src/components/listTable.vue @@ -22,7 +22,11 @@ @@ -64,6 +68,18 @@ function changeDate(row) { const value = row.createTime; return time.dateFormat(value); } + +/** + * 删除业务 + * @param {String} businessId + */ +function deleteBusiness() { + try { + // 这里写接口 记得加 async await + } catch (error) { + console.error('error: ', error); + } +}