File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,9 @@ const BugReportForm = {
88
88
' +' ,
89
89
);
90
90
const content = this .getContent (issueType);
91
- const withConfirm = `
92
- - [ ] I have searched the [issues](https://github.com/vueComponent/${ repo} /issues) \
91
+ const withConfirm = ` - [ ] I have searched the [issues](https://github.com/vueComponent/${ repo} /issues) \
93
92
of this repository and believe that this is not a duplicate.
94
-
93
+
95
94
${ content}
96
95
` ;
97
96
const withMarker = ` ${ withConfirm} \n\n <!-- generated by vue-antd-issue-helper. DO NOT REMOVE -->` ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function createBugPreview({
35
35
${ actual }
36
36
37
37
${ extra ? `---\n${ extra } ` : '' }
38
- ` . trim ( ) ;
38
+ ` . split ( '\n' ) . map ( t => t . trim ( ) ) . join ( '\n' ) ;
39
39
}
40
40
41
41
function createFeaturePreview ( { motivation, proposal } ) {
@@ -45,7 +45,7 @@ function createBugPreview({
45
45
46
46
### What does the proposed API look like?
47
47
${ proposal }
48
- ` . trim ( ) ;
48
+ ` . split ( '\n' ) . map ( t => t . trim ( ) ) . join ( '\n' ) ;
49
49
}
50
50
51
51
function createReproductionLink ( link ) {
Original file line number Diff line number Diff line change 6
6
7
7
对于使用中遇到的问题,请使用以下资源:
8
8
9
- - 仔细阅读 [ 文档] ( http://tangjinzhou.gitee.io /ant-design/docs/vue/introduce-cn/)
9
+ - 仔细阅读 [ 文档] ( /ant-design/docs/vue/introduce-cn/ )
10
10
<!-- - 在 [StackOverflow](https://stackoverflow.com/questions/ask?tags=antd) (英文) 或是 [SegmentFault](https://segmentfault.com/t/antd)(中文)搜索和提问 -->
11
11
12
12
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
You can’t perform that action at this time.
0 commit comments