You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
779 B
37 lines
779 B
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
import Aside from './aside/Aside.vue'
|
|
import Content from './content/Content.vue'
|
|
import ListContent from './content/ListContent.vue'
|
|
|
|
const showList = ref(false);
|
|
const contentRef:any = ref(null);
|
|
const inputChange = (keyword)=>{
|
|
contentRef.value.filterTableData(keyword)
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div class="main">
|
|
<!-- 侧边 -->
|
|
<Aside @inputChange="inputChange" />
|
|
|
|
<!-- 内容 -->
|
|
<Content @changeShow="showList=true" ref="contentRef" />
|
|
<!-- 任务管理 -->
|
|
<!-- TODO:本地演示即可 上传注释注释 -->
|
|
<!-- <ListContent /> -->
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="less" scoped>
|
|
.main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
</style>
|