From 6a9d0ddf297ecc70013d4e8933a139209bf86004 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Sun, 14 Nov 2021 20:56:08 +0800 Subject: [PATCH] fix --- .github/ISSUE_TEMPLATE/bug_report.md | 24 ---------- .github/ISSUE_TEMPLATE/bug_report.yml | 52 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 --------- .github/ISSUE_TEMPLATE/feature_request.yml | 27 +++++++++++ package.json | 2 +- 5 files changed, 80 insertions(+), 45 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 9a05f3c..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Bug report -about: 反馈问题:请将问题的重现步骤描述清楚! -title: '' -labels: bug -assignees: '' - ---- - -**(必填)请填写问题描述或截图:** -? - -**(必填)请填在线链接:** -? - -**(必填)请填写期望的结果:** -? - -**(必填)请填写以下信息:** - -- OS: ? -- Browser: ? -- vue: ? -- vxe-table: ? diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..a63ee99 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,52 @@ +name: Bug report +description: 反馈问题 +labels: bug +body: +- type: input + id: issue_link + attributes: + label: "可复现的链接:" + description: "一个最小化的重现能让我们精确地定位问题,从而快速解决问题。如何创建,点击 v3:[codesandbox](https://codesandbox.io/s/vue-template-916h0)、[jsrun](https://jsrun.net/vIyKp/edit) 或 v4:[codesandbox](https://codesandbox.io/s/vxe-table-wentiyanshi-forked-54v2j)、[jsrun](https://jsrun.net/K5IKp/edit),编辑后保存。" + validations: + required: true +- type: textarea + id: issue_describe + attributes: + label: "问题描述与截图:" + validations: + required: true +- type: markdown + attributes: + value: "在发布问题之前,请仔细阅读所填写的步骤,以确保是详细和清晰的。" +- type: input + id: issue_expect + attributes: + label: "期望的结果:" +- type: input + id: issue_os_version + attributes: + label: "操作系统:" + placeholder: "例如:window10" + validations: + required: true +- type: input + id: issue_browser_version + attributes: + label: "浏览器版本:" + placeholder: "例如:chrome 95.0.4638.69" + validations: + required: true +- type: input + id: issue_vue_version + attributes: + label: "vue 版本:" + placeholder: "例如:2.6.0" + validations: + required: true +- type: input + id: issue_vxe_version + attributes: + label: "vxe-table 版本:" + placeholder: "例如:3.4.0" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index abfc3e1..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: 功能需求:这个需求解决了什么问题? -title: '' -labels: enhancement -assignees: '' - ---- - -**(必填)这个需求解决了什么问题:** -? - -**截图或在线链接:** -? - -**建议的 API 是什么样的:** -? - -**是否已有其他不错的替代方案:** -? diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..039b9b2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,27 @@ +name: Feature request +description: 功能需求 +labels: enhancement +body: +- type: textarea + id: issue_describe + attributes: + label: "这个需求解决了什么问题:" + validations: + required: true +- type: markdown + attributes: + value: "请先查看[最新文档](https://xuliangzhan_admin.gitee.io/vxe-table/#/table/api),确定该功能是否已有实现" +- type: textarea + id: issue_api_describe + attributes: + label: "建议的 API 是什么样的:" +- type: markdown + attributes: + value: "描述一下希望该功能如何调用" +- type: textarea + id: issue_alternative_solution + attributes: + label: "是否已有其他不错的替代方案:" +- type: markdown + attributes: + value: "如果有其他已实现的方案,可以通过链接或截图描述一下" diff --git a/package.json b/package.json index 9ef1ab5..728d20f 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "typescript": "^4.0.5", "vue": "^3.2.14", "vxe-table": "^4.0.28", - "xe-utils": "^3.3.3" + "xe-utils": "^3.4.0" }, "peerDependencies": { "vxe-table": "^4.0.27"