Skip to content

Commit

Permalink
chore: 修改模板
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySoft committed Sep 3, 2024
1 parent 53e3b07 commit fbfba63
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,12 @@ const ActionModal = (props: any, ref: any) => {
form.setFieldsValue({
scripts: `/**
* 触发动作后,会执行该函数
* 上下文: context
* 变量: variable
* 事件参数: eventParams
* 事件流参数: eventParams
*/
function run(){
return context.eventParams;
}
`,
});
Expand Down

0 comments on commit fbfba63

Please sign in to comment.