Skip to content

Commit 92123af

Browse files
committed
feat: Support internal functionlib
--story=1017939 --user=刘瑞斌 【函数库】- 支持 系统内置函数 https://www.tapd.cn/57709429/s/1665943
1 parent 61fe14b commit 92123af

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/src/views/function-lib/index.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,10 @@ function changeState(bool: Boolean, row: any) {
393393
} else {
394394
for (let i = 0; i < row.init_field_list.length; i++) {
395395
if (!row.init_field_list[i].value) {
396-
InitParamDrawerRef.value.open(row)
397-
row.is_active = false
396+
functionLibApi.getFunctionLibById(row.id).then((res) => {
397+
InitParamDrawerRef.value.open(res.data)
398+
row.is_active = false
399+
})
398400
return
399401
}
400402
}

0 commit comments

Comments
 (0)