File tree Expand file tree Collapse file tree 3 files changed +33
-19
lines changed
Expand file tree Collapse file tree 3 files changed +33
-19
lines changed Original file line number Diff line number Diff line change 2828 <el-option v-for =" item in typeOptions" :key =" item" :label =" item" :value =" item" />
2929 </el-select >
3030 </el-form-item >
31- <el-form-item :label =" $t('views.tool.form.toolDescription.label')" >
32- <el-input
33- v-model =" form.desc"
34- type =" textarea"
35- :placeholder =" $t('components.folder.descriptionPlaceholder')"
36- maxlength =" 128"
37- show-word-limit
38- :autosize =" { minRows: 3 }"
39- @blur =" form.desc = form.desc?.trim()"
40- />
41- </el-form-item >
31+ <el-form-item :label =" $t('dynamicsForm.paramForm.tooltip.label')" >
32+ <el-input
33+ v-model =" form.desc"
34+ :placeholder =" $t('dynamicsForm.paramForm.tooltip.placeholder')"
35+ :maxlength =" 128"
36+ show-word-limit
37+ @blur =" form.desc = form.desc?.trim()"
38+ />
39+ </el-form-item >
4240 <el-form-item :label =" $t('views.tool.form.source.label')" >
4341 <el-select v-model =" form.source" >
4442 <el-option :label =" $t('views.tool.form.source.reference')" value =" reference" />
Original file line number Diff line number Diff line change 2727 >
2828 <template #label >
2929 <div class =" flex-between" >
30- <div class =" flex" >
31- <span class =" flex " >
30+ <div class =" flex align-center " >
31+ <div class =" mr-4 " >
3232 <auto-tooltip :content =" item.name" style =" max-width : 130px " >
3333 {{ item.name }}
3434 </auto-tooltip >
35- <span class =" color-danger" v-if =" item.is_required" >*</span ></span
36- >
35+ </div >
36+ <el-tooltip v-if =" item.desc" effect =" dark" placement =" right" popper-class =" max-w-200" >
37+ <template #content >
38+ {{ item.desc }}
39+ </template >
40+ <AppIcon iconName =" app-warning" class =" app-warning-icon" ></AppIcon >
41+ </el-tooltip >
42+
43+ <span class =" color-danger" v-if =" item.is_required" >*</span >
44+
3745 <el-tag type =" info" class =" info-tag ml-4" >{{ item.type }}</el-tag >
3846 </div >
3947 </div >
Original file line number Diff line number Diff line change 3232 >
3333 <template #label >
3434 <div class =" flex-between" >
35- <div class =" flex" >
36- <span class =" flex " >
35+ <div class =" flex align-center " >
36+ <div class =" mr-4 " >
3737 <auto-tooltip :content =" item.name" style =" max-width : 130px " >
3838 {{ item.name }}
3939 </auto-tooltip >
40- <span class =" color-danger" v-if =" item.is_required" >*</span >
41- </span >
40+ </div >
41+ <el-tooltip v-if =" item.desc" effect =" dark" placement =" right" popper-class =" max-w-200" >
42+ <template #content >
43+ {{ item.desc }}
44+ </template >
45+ <AppIcon iconName =" app-warning" class =" app-warning-icon" ></AppIcon >
46+ </el-tooltip >
47+
48+ <span class =" color-danger" v-if =" item.is_required" >*</span >
49+
4250 <el-tag type =" info" class =" info-tag ml-4" >{{ item.type }}</el-tag >
4351 </div >
4452 <div >
You can’t perform that action at this time.
0 commit comments