feat:添加登录页面,完善文章目录

This commit is contained in:
橙子
2023-03-18 01:34:07 +08:00
parent 1bb7ce6805
commit c613b185da
8 changed files with 71 additions and 85 deletions

View File

@@ -6,6 +6,8 @@
:expand-on-click-node="false"
node-key="id"
:default-expand-all='true'
:highlight-current="true"
:current-node-key="currentNodeKey"
>
<template #default="{ node, data }">
@@ -28,9 +30,13 @@
</el-tree>
</template>
<script setup>
import { ref } from 'vue';
const props = defineProps(['data'])
const props = defineProps(['data',"currentNodeKey"])
const emits= defineEmits(["handleNodeClick"])
const currentNodeKey=props.currentNodeKey;
//数据定义
//子文章数据
// const articleData =ref([]);