mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-15 13:25:44 +00:00
fix(router): 修复路由keep-alive逻辑并添加组件名称
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user