File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 5959 <h5 class =" p-8-12" >
6060 {{ $t('common.param.inputParam') }}
6161 </h5 >
62+
6263 <div class =" p-8-12 border-t-dashed lighter" >
6364 <div class =" mb-8" >
6465 <span class =" color-secondary" >
6566 {{ $t('chat.paragraphSource.question') }}:</span
6667 >
68+
6769 {{ item.question || '-' }}
6870 </div >
71+
6972 <div v-for =" (f, i) in item.global_fields" :key =" i" class =" mb-8" >
7073 <span class =" color-secondary" >{{ f.label }}:</span > {{ f.value }}
7174 </div >
604607 </div >
605608 </div >
606609 </template >
610+
611+ <!-- 变量赋值 -->
612+ <template v-if =" item .type === WorkflowType .VariableAssignNode " >
613+ <div class =" card-never border-r-4" >
614+ <h5 class =" p-8-12" >
615+ {{ $t('common.param.inputParam') }}
616+ </h5 >
617+ <div class =" p-8-12 border-t-dashed lighter" >
618+ <div v-for =" (f, i) in item.variable_list" :key =" i" class =" mb-8" >
619+ <span class =" color-secondary" >{{ f.name }}:</span > {{ f.input_value }}
620+ </div >
621+ </div >
622+ </div >
623+ <div class =" card-never border-r-4" >
624+ <h5 class =" p-8-12" >
625+ {{ $t('common.param.outputParam') }}
626+ </h5 >
627+ <div class =" p-8-12 border-t-dashed lighter" >
628+ <div v-for =" (f, i) in item.variable_list" :key =" i" class =" mb-8" >
629+ <span class =" color-secondary" >{{ f.name }}:</span > {{ f.output_value }}
630+ </div >
631+ </div >
632+ </div >
633+ </template >
607634 </template >
608635 <template v-else >
609636 <div class =" card-never border-r-4" >
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ export enum WorkflowType {
1616 FormNode = 'form-node' ,
1717 TextToSpeechNode = 'text-to-speech-node' ,
1818 SpeechToTextNode = 'speech-to-text-node' ,
19- ImageGenerateNode = 'image-generate-node'
19+ ImageGenerateNode = 'image-generate-node'
2020}
You can’t perform that action at this time.
0 commit comments