# TriggerSelect(行为组件列表)

# 使用范围

仅ui和行为组件生效

# 使用方式

config:{
  action: {
    text:  '行为选择',
    type: 'TriggerSelect'
  }
}
...
// 行为组件中使用
run: async (ctx, next) => {
    if (ctx.trigger.action != 'none') {
      await ctx.runAction(ctx.trigger.action, ctx)
    }
    next()
}

// ui组件中使用
onMount :async (ctx) => {
    if (ctx.widget.data.action != 'none') { 
        await ctx.runAction(ctx.widget.action, ctx)
      }
}

# 特有参数

暂无

# 效果

xes-save