From 435e69b11b8f45b0e2aef545b687cb3a4d06140f Mon Sep 17 00:00:00 2001 From: rex Date: Wed, 3 Apr 2019 20:29:18 +0800 Subject: [PATCH] [docs]: update issue template --- .github/ISSUE_TEMPLATE/bug-report-----.md | 13 +++++++++++-- .github/ISSUE_TEMPLATE/feature-request-----.md | 9 +++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report-----.md b/.github/ISSUE_TEMPLATE/bug-report-----.md index 5af06131..ffd445ea 100644 --- a/.github/ISSUE_TEMPLATE/bug-report-----.md +++ b/.github/ISSUE_TEMPLATE/bug-report-----.md @@ -12,7 +12,16 @@ about: Create a report to help us improve **截图** 如果是 UI 问题,请提供具体截图 +**核心代码** +请提供使用组件的核心代码 + +```js +``` + +```wxml +``` + **环境** - - 设备: - - 基础库版本: + - 设备: + - 基础库版本: - Vant Weapp 版本: diff --git a/.github/ISSUE_TEMPLATE/feature-request-----.md b/.github/ISSUE_TEMPLATE/feature-request-----.md index 795f7751..ad0ecb31 100644 --- a/.github/ISSUE_TEMPLATE/feature-request-----.md +++ b/.github/ISSUE_TEMPLATE/feature-request-----.md @@ -11,3 +11,12 @@ about: Suggest an idea for this project **你期望 API 是什么样的?** 描述一下你期望的 API 形式 + +**示例代码** +请展示一下新功能的大致用法 + +```js +``` + +```wxml +```