mod: 示例代码修改

This commit is contained in:
张传龙 2022-05-18 20:40:31 +08:00
parent e63e9f5cf2
commit 5bd380037c

View File

@ -31,13 +31,12 @@ onBeforeMount(() => {
initTableData() initTableData()
}) })
// fns
function handleCreate() { function handleCreate() {
router.push('/example/table/post-create') router.push('/example/table/post-create')
} }
function handleCheck(rowKeys) { function handleCheck(rowKeys) {
$message.info(`选中${rowKeys.join(' ')}`) if (rowKeys.length) $message.info(`选中${rowKeys.join(' ')}`)
} }
</script> </script>