diff --git a/package/vitevui/package.json b/package/vitevui/package.json index 20fd87b..b080d48 100644 --- a/package/vitevui/package.json +++ b/package/vitevui/package.json @@ -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/", diff --git a/package/vitevui/src/flow/graphCom/FUNCTION.tsx b/package/vitevui/src/flow/graphCom/FUNCTION.tsx index 7d810d3..8e38abb 100644 --- a/package/vitevui/src/flow/graphCom/FUNCTION.tsx +++ b/package/vitevui/src/flow/graphCom/FUNCTION.tsx @@ -92,6 +92,17 @@ export default defineComponent({ })} {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 (