baidu / baidu/amis

action组件className颜色问题

Open
#5,502 0 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

action组件的level设置成link,后在设置className:text-success,显示效果并没有显示成绿色。(官网文档直接修改demo可以)
#### 截图或视频:

可以的话,尽可能提供截图或视频来补充描述你的问题...

![image](https://user-images.githubusercontent.com/11575908/194745671-36d1b6c7-b56b-40f6-b23e-45179cbb00c1.png)

1. 你是如何使用 amis 的?
asd

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

sdk2.3.0

3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "action",
"label": "链接",
"className":"text-success",
"level": "link"
}
```

4. 操作步骤
请简单描述一下复现的操作步骤...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the provided action schema with amis SDK 2.3.0, using level "link" and className "text-success". Inspect the action component's className and styling behavior; done means the link action visibly receives the success color, with the documented demo behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.