1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-28 12:10:20 +08:00

mod: use unocss rewrite the demo page

This commit is contained in:
张传龙
2022-06-26 18:25:14 +08:00
parent e465ee50bf
commit 73c82520ca
2 changed files with 11 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div p24>
<div class="action-btns">
<div p-24>
<div flex>
<n-button size="small" type="primary" @click="handleCreate">新建文章</n-button>
</div>
<n-data-table
@@ -37,9 +37,3 @@ function handleCheck(rowKeys) {
if (rowKeys.length) $message.info(`选中${rowKeys.join(' ')}`)
}
</script>
<style lang="scss" scoped>
.action-btns {
display: flex;
}
</style>