File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed
ui/src/views/application-workflow/component Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change 11
11
12
12
<el-tab-pane label =" 基础组件" name =" base" >
13
13
<el-scrollbar height =" 400" >
14
- <template v-for =" (item , index ) in filter_menu_nodes " :key =" index " >
15
- <div
16
- class =" workflow-dropdown-item cursor flex p-8-12"
17
- @click.stop =" clickNodes(item)"
18
- @mousedown.stop =" onmousedown(item)"
19
- >
20
- <component :is =" iconComponent(`${item.type}-icon`)" class =" mr-8 mt-4" :size =" 32" />
21
- <div class =" pre-wrap" >
22
- <div class =" lighter" >{{ item.label }}</div >
23
- <el-text type =" info" size =" small" >{{ item.text }}</el-text >
14
+ <div v-if =" filter_menu_nodes.length > 0" >
15
+ <template v-for =" (item , index ) in filter_menu_nodes " :key =" index " >
16
+ <div
17
+ class =" workflow-dropdown-item cursor flex p-8-12"
18
+ @click.stop =" clickNodes(item)"
19
+ @mousedown.stop =" onmousedown(item)"
20
+ >
21
+ <component :is =" iconComponent(`${item.type}-icon`)" class =" mr-8 mt-4" :size =" 32" />
22
+ <div class =" pre-wrap" >
23
+ <div class =" lighter" >{{ item.label }}</div >
24
+ <el-text type =" info" size =" small" >{{ item.text }}</el-text >
25
+ </div >
24
26
</div >
25
- </div >
26
- </template >
27
+ </template >
28
+ </div >
29
+ <div v-else class =" ml-16 mt-8" >
30
+ <el-text type =" info" >没有找到相关结果</el-text >
31
+ </div >
27
32
</el-scrollbar >
28
33
</el-tab-pane >
29
34
<el-tab-pane label =" 函数库" name =" function" >
You can’t perform that action at this time.
0 commit comments