Skip to content

Commit

Permalink
Merge pull request #134 from bhabgs/master
Browse files Browse the repository at this point in the history
flow fun
  • Loading branch information
mengziwen authored Sep 9, 2021
2 parents 881164c + f0e3511 commit 38cf7d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package/vitevui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitevui",
"version": "1.0.0-beta.61",
"version": "1.0.0-beta.62",
"description": "vue3.0 ui",
"main": "lib/index.js",
"homepage": "https://bhabgs.github.io/vite-vui-docs/",
Expand Down
11 changes: 11 additions & 0 deletions package/vitevui/src/flow/graphCom/FUNCTION.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@ export default defineComponent({
})}
</a-select>
{state.resData.paramList.map((ele: any) => {
if (ele.type === 'select') {
const fun = props.funAll.find((func: any) => {
return func.funcName === state.resData.funcName;
});
const param = fun?.paramDefineList?.find((par: any) => {
return par.defineCode === ele.defineCode;
});
if (param) {
ele.option = param.option;
}
}
return (
<div class='flex line'>
<div class='name'>{ele.name}</div>
Expand Down

0 comments on commit 38cf7d9

Please sign in to comment.