用 bun fmt 格式化全部代码和文档
- bunfig.toml 的 [fmt]:不写分号、单引号、一行最长 160,和原来的写法一致 - .prettierignore:docs/教材摘要/ 是书上的摘录,不格式化 - 模板里一行写两条语句的事件处理(@keydown.delete、@dblclick)改成调用方法:去掉分号后拆成两行,Vue 编译不过 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d4b8bf9241
commit
de277d3e9d
102 files changed
+1971
-1059
No files matched your search
@@ -6,10 +6,10 @@
|
||||
- select: { control: com_ledPort, item: COM5 }
|
||||
- click: btn_open
|
||||
- click: btn_get
|
||||
- expect: { control: txt_temperature, text: "25" }
|
||||
- expect: { led: "25", desc: 显示温度 25 }
|
||||
- expect: { led: "60", desc: 显示湿度 60 }
|
||||
- expect: { led: "500", desc: 显示光照度 500 }
|
||||
- expect: { control: txt_temperature, text: '25' }
|
||||
- expect: { led: '25', desc: 显示温度 25 }
|
||||
- expect: { led: '60', desc: 显示湿度 60 }
|
||||
- expect: { led: '500', desc: 显示光照度 500 }
|
||||
|
||||
- title: 能推送最新的环境信息
|
||||
steps:
|
||||
@@ -19,4 +19,4 @@
|
||||
- click: btn_get
|
||||
- board: { temperature: 31 }
|
||||
- click: btn_get
|
||||
- expect: { led: "31", desc: 显示最新的温度 31 }
|
||||
- expect: { led: '31', desc: 显示最新的温度 31 }
|
||||
Reference in new issue
Block a user