ForcePilot/web/src/views/AgentSingleView.vue
2025-03-31 23:02:05 +08:00

25 lines
476 B
Vue

<template>
<div class="agent-single-view">
<AgentChatComponent :agent-id="agentId" />
</div>
</template>
<script setup>
import { computed } from 'vue';
import { useRoute } from 'vue-router';
import AgentChatComponent from '@/components/AgentChatComponent.vue';
const route = useRoute();
const agentId = computed(() => route.params.agent_id);
</script>
<style lang="less" scoped>
.agent-single-view {
width: 100%;
height: 100vh;
overflow: hidden;
}
</style>