diff --git a/src/views/flow/config.js b/src/views/flow/config.js index f7fce53..2b528ad 100644 --- a/src/views/flow/config.js +++ b/src/views/flow/config.js @@ -16,6 +16,7 @@ import planSvg from './icon/plan.svg' import awakenSvg from './icon/awaken.svg' import dialogueSvg from './icon/dialogue.svg' import audioSvg from './icon/audio.svg' +import touchSvg from './icon/touch.svg' import { v4 as randomUUID } from 'uuid' @@ -350,4 +351,21 @@ export const collapseList = [ } ], }, + { + collapseTitle: "触控交互", + nodeList: [ + { + icon: touchSvg, + name: "触控", + type: "serviceNode", + desc: "去触控坐标的点位", + action: 'TOUCH', + nodeParams: [ + { name: "deviceId", type: "input", input: "", disabled: true }, + { name: "touchParams", type: "input", input: "", disabled: true } + ], + outputType: 'json', + } + ], + }, ] diff --git a/src/views/flow/icon/dialogue.svg b/src/views/flow/icon/dialogue.svg index e3481ff..b208067 100644 --- a/src/views/flow/icon/dialogue.svg +++ b/src/views/flow/icon/dialogue.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/flow/icon/touch.svg b/src/views/flow/icon/touch.svg new file mode 100644 index 0000000..44a14a5 --- /dev/null +++ b/src/views/flow/icon/touch.svg @@ -0,0 +1 @@ + \ No newline at end of file