Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
Description:

Log:
  • Loading branch information
mikigo committed Nov 9, 2023
1 parent cafb31f commit f2c4122
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
11 changes: 11 additions & 0 deletions docs/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# 版本更新记录

## 2.3.1(2023/11/8)

**New**

- 集成 `ydotool` 键鼠控制方案,解决锁屏界面控制键鼠的问题;

**Fix**

- 修复 `PMS` 回填数据时,`timeout` 报错的问题;
- 修复反向同步标签,导致 `PMS` 产品库用例 `title` 为空的问题;

## 2.3.0(2023/10/27)

**New**
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ extra:
provider: mike
social:
- icon: fontawesome/brands/slack
link: https://mikigo.github.io/funny-docs
link: https://mikigo.gitee.io/funny-docs
name: funny-docs
- icon: fontawesome/brands/github
link: https://github.com/linuxdeepin
Expand Down
9 changes: 7 additions & 2 deletions src/pms/csv2pms.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,13 @@ def push(value, index):
'isAutomation': '是',
}
try:
if value[csv_map(FixedCsvTitle.device_type.name)] in ("PPL", "COL"):
data["deviceType"] = value[csv_map(FixedCsvTitle.device_type.name)]
if value[csv_map(FixedCsvTitle.device_type.name)] == "PPL":
data["deviceType"] = "PPL(外设)"
except AttributeError:
pass
try:
if value[csv_map(FixedCsvTitle.device_type.name)] == "COL":
data["deviceType"] = "COL(主控)"
except AttributeError:
pass
try:
Expand Down

0 comments on commit f2c4122

Please sign in to comment.