Skip to content

Commit 850faee

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ async function changeState(bool: Boolean, row: any) {
391391
row.is_active = true
392392
})
393393
} else {
394-
const res = await functionLibApi.getFunctionLibById(row.id)
394+
const res = await functionLibApi.getFunctionLibById(row.id, changeStateloading)
395395
if (!res.data.init_params) {
396396
InitParamDrawerRef.value.open(res.data)
397397
row.is_active = false
@@ -448,7 +448,7 @@ function configPermission(item: any) {
448448
}
449449
450450
function configInitParams(item: any) {
451-
functionLibApi.getFunctionLibById(item?.id).then((res) => {
451+
functionLibApi.getFunctionLibById(item?.id, changeStateloading).then((res) => {
452452
InitParamDrawerRef.value.open(res.data)
453453
})
454454
}

0 commit comments

Comments
 (0)