feat: 节点增加参数

This commit is contained in:
zhanghao 2025-12-05 13:33:46 +08:00
parent 75df1a177c
commit 8ca84bbbad
3 changed files with 13 additions and 3 deletions

View File

@ -111,7 +111,16 @@ const expressOptions = () => {
label: '惊讶'
}, {
value: 3,
label: '疲惫'
label: '愤怒'
}, {
value: 4,
label: '悲伤'
}, {
value: 5,
label: '睡觉'
}, {
value: 6,
label: '打哈欠'
}]
}
@ -395,6 +404,7 @@ export const collapseList = [
nodeParams: [
{ name: 'audioPath', type: "input", input: "", disabled: true },
{ name: 'deviceId', type: "input", input: "", disabled: true },
{ name: 'bioId', type: "input", input: "", disabled: true, required: false }
],
}
],

View File

@ -98,7 +98,7 @@
v-if="property.type === 'input'"
:rules="[
{
required: true,
required: property?.required ?? true,
message: '请输入参数值',
trigger: 'blur',
},

View File

@ -36,7 +36,7 @@ export default defineConfig(({mode, command}) => {
//赵 http://10.148.108.58:13080
// dev http://10.148.20.34:13080
// target: VITE_API_URL,
target: command === 'build' ? VITE_API_URL : 'http://192.168.0.100:13080',
target: command === 'build' ? VITE_API_URL : 'http://192.168.0.10:13080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}