Initial commit

This commit is contained in:
libertyspy
2026-02-08 18:43:42 +08:00
parent 70de3c68a8
commit 76065ed5c4
3 changed files with 10 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
*/
export default {
dashboardUrl: '/app/ai/project/management',
dashboardUrl: '/app/decision/designer',
// 训练任务监控URL
taskMonitorUrl: 'http://192.168.1.100:8080',
// 集群监控URL

View File

@@ -18,6 +18,14 @@ export const routes: RouteRecordRaw[] = [
hidden: true,
},
} as RouteRecordRedirect,
{
name: 'signin',
path: '/signin',
meta: {
title: '登录',
},
component: () => import('@/views/signin.vue'),
},
{
name: 'decision-designer',
path: '/app/decision/designer',

View File

@@ -205,7 +205,7 @@ export default defineComponent({
};
const handleSelectTree = (tree: BehaviorTree) => {
console.error('handleSelectTree', tree);
console.info('handleSelectTree', tree);
findOneTreeById(tree.id).then(r => {
if (r.data) {
let nodeGraph: NodeGraph | null = null;
@@ -224,7 +224,6 @@ export default defineComponent({
...r.data,
graph: nodeGraph,
};
console.error(currentBehaviorTree.value);
createElements();
} else {
message.error(r.msg ?? '行为树不存在.');