输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
action | string | 是 | — | — |
target | string | 是 | ObjectId | — |
params | string | 是 | — | — |
调用
typescript
piclient.emit("mode.event",{
action: "",
target: "ObjectId",
params: "",
})
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
action | string | 是 | — | — |
target | string | 是 | ObjectId | — |
params | string | 是 | — | — |
piclient.emit("mode.event",{
action: "",
target: "ObjectId",
params: "",
})