feat: 节点增加参数
This commit is contained in:
parent
75df1a177c
commit
8ca84bbbad
@ -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 }
|
||||
],
|
||||
}
|
||||
],
|
||||
|
||||
@ -98,7 +98,7 @@
|
||||
v-if="property.type === 'input'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
required: property?.required ?? true,
|
||||
message: '请输入参数值',
|
||||
trigger: 'blur',
|
||||
},
|
||||
|
||||
@ -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/, '')
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user