baidu / baidu/amis

crud中使用tpl tpl内容的上下边框不展示

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

Description

#### 描述问题:

crud中使用tpl tpl内容的上下边框不展示

#### 截图或视频:
![image](https://github.com/baidu/amis/assets/48573389/abab7b30-8a40-42c1-9119-80ace65195b9)

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
官方文档

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

3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "tpl",
"name": "id",
"label": "tpl",
"tpl": "${id}\n${engine}",
"wrapperComponent": "pre"
},
```

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the provided AMIS schema using `type: "tpl"`, `wrapperComponent: "pre"`, and the embedded ``, and reproduce it through the official documentation setup. Confirm when the top and bottom borders are missing, then verify that the same CRUD rendering displays both borders after the fix.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.