fix: Optimize text

v3.2
wangdan-fit2cloud 2025-09-23 10:56:37 +08:00
parent 4266a74b8c
commit 83456553f2
5 changed files with 15 additions and 2 deletions

View File

@ -354,6 +354,10 @@ export default {
numberLoop: 'Loop for Specified Times', numberLoop: 'Loop for Specified Times',
infiniteLoop: 'Infinite Loop', infiniteLoop: 'Infinite Loop',
}, },
loopNumber: {
label: 'Loop Number',
requiredMessage: 'Please enter the number of loops',
},
loopArray: { loopArray: {
label: 'Circular Array', label: 'Circular Array',
requiredMessage: 'Circular Array is required', requiredMessage: 'Circular Array is required',

View File

@ -354,6 +354,10 @@ export default {
numberLoop: '指定次数循环', numberLoop: '指定次数循环',
infiniteLoop: '无限循环', infiniteLoop: '无限循环',
}, },
loopNumber: {
label: '循环次数',
requiredMessage: '循环次数必填',
},
loopArray: { loopArray: {
label: '循环数组', label: '循环数组',
requiredMessage: '循环数组必填', requiredMessage: '循环数组必填',

View File

@ -347,6 +347,10 @@ export default {
numberLoop: '指定次數循環', numberLoop: '指定次數循環',
infiniteLoop: '無限循環', infiniteLoop: '無限循環',
}, },
loopNumber: {
label: '循環次數',
requiredMessage: '請填寫循環次數',
},
loopArray: { loopArray: {
label: '循環數組', label: '循環數組',
requiredMessage: '循環數組必填', requiredMessage: '循環數組必填',

View File

@ -55,11 +55,11 @@
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-else-if="form_data.loop_type == 'NUMBER'" v-else-if="form_data.loop_type == 'NUMBER'"
:label="$t('views.applicationWorkflow.nodes.loopNode.loopArray.label')" :label="$t('views.applicationWorkflow.nodes.loopNode.loopNumber.label')"
@click.prevent @click.prevent
prop="number" prop="number"
:rules="{ :rules="{
message: $t('views.applicationWorkflow.nodes.loopNode.loopArray.requiredMessage'), message: $t('views.applicationWorkflow.nodes.loopNode.loopNumber.requiredMessage'),
trigger: 'blur', trigger: 'blur',
required: true, required: true,
}" }"

View File

@ -1,5 +1,6 @@
<template> <template>
<NodeContainer :nodeModel="nodeModel"> <NodeContainer :nodeModel="nodeModel">
<h5 class="title-decoration-1 mb-8">{{ $t('views.applicationWorkflow.nodeSetting') }}</h5>
<LoopFieldTable :nodeModel="nodeModel"></LoopFieldTable> <LoopFieldTable :nodeModel="nodeModel"></LoopFieldTable>
<template v-if="loop_input_fields?.length"> <template v-if="loop_input_fields?.length">
<h5 class="title-decoration-1 mb-8"> <h5 class="title-decoration-1 mb-8">