baidu / baidu/amis

针对所有的组件如何扩展通用事件面板的事件配置的表单项

Open
#11,643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

实现场景:

丰富页面的上报能力,扩展现有的表单项,丰富用户的上报字段

存在的问题:

针对所有的组件如何扩展通用事件面板的事件配置的表单项,且表单项支持传一个变量 上报的时候 上报的属性值可以解析改变量。

想问下这个支持扩展吗 能支持我们的需求吗?

例如:
track-id: 'test_id',
extra: {
a: "${data.a}",
b: "${data.b}"
}

当前方案:

请粘贴你当前方案的完整 amis schema 代码...

现在没方案,尝试像扩展插件那样 发现行不通。 如果可以扩展 求一个方案 谢谢~

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the common event panel and its event-configuration schema, then determine how component data is available during reporting; done means additional configurable fields work across components and variable values resolve in reported properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.