Initial commit
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
export default {
|
||||
dashboardUrl: '/app/ai/project/management',
|
||||
dashboardUrl: '/app/decision/designer',
|
||||
// 训练任务监控URL
|
||||
taskMonitorUrl: 'http://192.168.1.100:8080',
|
||||
// 集群监控URL
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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 ?? '行为树不存在.');
|
||||
|
||||
Reference in New Issue
Block a user