chore: 字段说明

This commit is contained in:
lisonge
2023-12-25 23:49:41 +08:00
parent b5a4b74767
commit dcb311f73b

View File

@@ -131,6 +131,10 @@ type RawCommonProps = {
type RawRuleProps = RawCommonProps & { type RawRuleProps = RawCommonProps & {
/** /**
* 当前规则在列表中的唯一标识 * 当前规则在列表中的唯一标识
*
* key 没有顺序大小之分, 可以是任意数字
*
* 设置后不可更改, 否则造成点击记录错乱
*/ */
key?: number; key?: number;
@@ -206,6 +210,10 @@ type RawGroupProps = RawCommonProps & {
* 当前规则组在列表中的唯一标识 * 当前规则组在列表中的唯一标识
* *
* 也是客户端禁用/启用此规则组的依据 * 也是客户端禁用/启用此规则组的依据
*
* 设置后不可更改, 否则造成客户端启用/禁用错乱
*
* key 没有顺序大小之分, 可以是任意数字
*/ */
key: number; key: number;