Skip to content

Commit 42e41eb

Browse files
committed
refactor(issue-template): 将复选框组件更改为下拉选择组件
- 将 operating-systems 和 package-types 字段的复选框组件改为下拉选择组件 - 添加 multiple: true 属性,允许多选 - 简化选项格式,提高可读性和维护性
1 parent 3a6c030 commit 42e41eb

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/ISSUE_TEMPLATE/bug.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,32 @@ body:
4040
label: 截图或视频
4141
description: 如果可以的话,上传任何关于 bug 的截图。
4242
placeholder: "[在这里上传图片]"
43-
- type: checkboxes
43+
- type: dropdown
4444
id: operating-systems
4545
attributes:
4646
label: 操作系统
4747
description: 您当前正在哪个操作系统使用我们软件?
48+
multiple: true
4849
options:
49-
- label: Windows
50-
- label: Linux
51-
- label: macOS
52-
- label: Android
53-
- label: OpenHarmony
54-
- label: Unix
55-
- label: 其他操作系统
50+
- Windows
51+
- Linux
52+
- macOS
53+
- Android
54+
- OpenHarmony
55+
- Unix
56+
- 其他操作系统
5657
validations:
5758
required: true
58-
- type: checkboxes
59+
- type: dropdown
5960
id: package-types
6061
attributes:
6162
label: 软件包类型
6263
description: 您当前正在使用我们应用的什么软件包类型?
64+
multiple: true
6365
options:
64-
- label: 安装器 (*_setup.exe)
65-
- label: 便携包 (*_portable.zip)
66-
- label: Zip 应用 (*_zipapp.pyzw)
67-
- label: 未知
66+
- 安装器 (*_setup.exe)
67+
- 便携包 (*_portable.zip)
68+
- Zip 应用 (*_zipapp.pyzw)
69+
- 未知
6870
validations:
6971
required: true

0 commit comments

Comments
 (0)