ForcePilot/web/src/views/AgentSingleView.vue

25 lines
476 B
Vue
Raw Normal View History

2025-03-31 22:32:19 +08:00
<template>
2025-03-31 23:02:05 +08:00
<div class="agent-single-view">
<AgentChatComponent :agent-id="agentId" />
2025-03-31 22:32:19 +08:00
</div>
</template>
2025-03-31 23:02:05 +08:00
<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>
2025-03-31 22:32:19 +08:00