diff --git a/src/G6/nodeConfig.ts b/src/G6/nodeConfig.ts index d76d545..2c77245 100644 --- a/src/G6/nodeConfig.ts +++ b/src/G6/nodeConfig.ts @@ -120,20 +120,20 @@ export const breakdownNode: ShapeOptions = { stroke: "#5B8FF9", fill: "#D7DCF1", lineWidth: 2, - cursor: "pointer", + // cursor: "pointer", }, name: "root-node-key-shape", }); group.addShape("text", { attrs: { - text: textWrapping(cfg.label as string, 200), + text: textWrapping(cfg.label as string, 300), fill: "#000", fontSize: 12, x: 2 * r, // y: -r / 2, textAlign: "left", textBaseline: "middle", - cursor: "pointer", + // cursor: "pointer", }, name: "root-text-shape", }); diff --git a/src/api/mock.ts b/src/api/mock.ts index eb5c8d7..0ade641 100644 --- a/src/api/mock.ts +++ b/src/api/mock.ts @@ -18,7 +18,7 @@ export const fetchJob = (task: string) => ), ), }), - 100, + 500, ); }); @@ -34,6 +34,6 @@ export const fetchTool = (_toolId: string) => ), ), }), - 100, + 500, ); }); diff --git a/src/components/Case.vue b/src/components/Case.vue new file mode 100644 index 0000000..cef94af --- /dev/null +++ b/src/components/Case.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/src/components/Question.vue b/src/components/Question.vue index 101cca4..c3ff07f 100644 --- a/src/components/Question.vue +++ b/src/components/Question.vue @@ -3,23 +3,25 @@ import { Promotion } from "@element-plus/icons-vue"; import { useSessionStore } from "../store/session.ts"; const sessionStore = useSessionStore(); -sessionStore.session.question = "Calculation of Flood Affected Area"; -sessionStore.chatted(); +// sessionStore.session.question = "Calculation of Flood Affected Area"; +// sessionStore.chatted(); diff --git a/src/components/taskConfig/index.vue b/src/components/taskConfig/index.vue index 300e6b4..354800e 100644 --- a/src/components/taskConfig/index.vue +++ b/src/components/taskConfig/index.vue @@ -49,7 +49,7 @@ function onCancel() {