fix(router): 修复路由keep-alive逻辑并添加组件名称

This commit is contained in:
piexlMax(奇淼
2025-07-10 14:52:59 +08:00
parent 2ec2e9a66e
commit 72ee8fb6fc
3 changed files with 27 additions and 0 deletions
@@ -83,6 +83,10 @@ import { ref, reactive } from 'vue'
import { ElMessage } from 'element-plus'
import { mcp } from '@/api/autoCode'
defineOptions({
name: 'MCP'
})
const formRef = ref(null)
const form = reactive({
name: '',
@@ -139,6 +139,11 @@ import { ElMessage } from 'element-plus'
import { VideoPlay, DocumentCopy } from '@element-plus/icons-vue' // Added DocumentCopy
import { mcpList, mcpTest } from '@/api/autoCode'
defineOptions({
name: 'MCPTest'
})
const mcpTools = ref([])
const testDialogVisible = ref(false)
const currentTestingTool = ref(null)