Skip to content

Commit

Permalink
调整提示 (#6774)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhaolin committed May 30, 2024
1 parent efc84dd commit d817157
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fields:
is_rest:
label: Enable API
help:
description: allow the use of api interface access:/api/v1/:objectName/functions/:functionApiName
description: allow the use of api interface access:{POST/GET} /api/v1/:objectName/functions/:functionApiName
is_system:
label: System
help:
Expand All @@ -33,22 +33,9 @@ fields:
label: Script
help:
description: |
async function run({
input,
params,
broker,
getObject,
getUser
} = ctx) {
async function run(ctx) {
// ...
}
type:
label: Type
help:
description:
options:
- label: "Script"
value: "script"
description:
label: Description
help:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fields:
is_rest:
label: 启用API
help:
description: 允许使用API接口访问:{POST} /api/v1/:objectName/functions/:functionApiName
description: 允许使用API接口访问:{POST/GET} /api/v1/:objectName/functions/:functionApiName
is_system:
label: 系统
help:
Expand All @@ -30,22 +30,9 @@ fields:
label: 代码
help:
description: |
async function run({
input,
params,
broker,
getObject,
getUser
} = ctx) {
async function run(ctx) {
// ...
}
type:
label: 类型
help:
description:
options:
- label: "Script"
value: "script"
description:
label: 备注
help:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ required: true
defaultValue: |-
// global: {_:lodash, moment, validator, filters}
// objects
// ctx.input
// ctx: {input, params, broker, getObject, getUser}
editorDidMount: >-
if(window._registerCompletionItemProviderFunction){
return ;
Expand Down

0 comments on commit d817157

Please sign in to comment.