@honor-claw/yoyo 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -116,8 +116,9 @@ volume.operate
|
|
|
116
116
|
|
|
117
117
|
1. **设值与调大/调小的区别**: `设值`为绝对值设定("调到50"),`调大`/`调小`为相对值调整("调大20")
|
|
118
118
|
2. **numberType 匹配**: `number` 需与 `numberType` 配合使用——"50"对应数字、"50%"对应百分比、"最大/最小"对应极值、"3格/3档"对应级别、"1/3/三分之一"对应分数
|
|
119
|
-
3.
|
|
120
|
-
4.
|
|
119
|
+
3. **number取值规则**:如果numberType为“百分比”,该值必须为小数!!!如:用户说“调节音量到30%”,number取值为0.3"
|
|
120
|
+
4. **音量类型缺省**: 未指定 `volumeType` 时,默认操作系统主音量
|
|
121
|
+
5. **同义词映射**: "静音"→关闭、"取消静音"→打开、"声音设为零"→设值(number=零)
|
|
121
122
|
|
|
122
123
|
## Query 示例及输出
|
|
123
124
|
|