mod: 示例代码修改
This commit is contained in:
parent
e63e9f5cf2
commit
5bd380037c
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user