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.
ocr-web/src/views/home/index.vue

35 lines
657 B

<script lang="ts" setup>
import Aside from './aside/Aside.vue'
import Content from './content/Content.vue'
import Robot from '@/components/Robot/index.vue'
import {ref} from 'vue';
const contentRef:any = ref(null)
const showLoginModal = ()=>{
contentRef.value.showLoginSuccessModal();
}
</script>
<template>
<div class="main">
<!-- 侧边 -->
<Aside />
<!-- 内容 -->
<Content ref="contentRef"/>
<!-- 机器人 -->
<!-- <Robot :canClick="true" @click="showLoginModal"/> -->
</div>
</template>
<style lang="less" scoped>
.main {
display: flex;
flex-direction: row;
box-sizing: border-box;
width: 100%;
}
</style>