From 5bd380037c5998fa1c0ea3380cbee2539dc3c282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Wed, 18 May 2022 20:40:31 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E7=A4=BA=E4=BE=8B=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/examples/table/post/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/examples/table/post/index.vue b/src/views/examples/table/post/index.vue index 5ca73a3..c1476fa 100644 --- a/src/views/examples/table/post/index.vue +++ b/src/views/examples/table/post/index.vue @@ -31,13 +31,12 @@ onBeforeMount(() => { initTableData() }) -// fns function handleCreate() { router.push('/example/table/post-create') } function handleCheck(rowKeys) { - $message.info(`选中${rowKeys.join(' ')}`) + if (rowKeys.length) $message.info(`选中${rowKeys.join(' ')}`) }