修改设置宫格行列接口为一条指令,避免后端重复计算

This commit is contained in:
fangxiang 2022-11-29 15:35:39 +08:00
parent 2ce176f746
commit 92b6698665
1 changed files with 10 additions and 1 deletions

View File

@ -695,7 +695,7 @@ export default class ClientConnection {
}
public setWallRowCol(wall_row: number, wall_col: number) {
this.ws?.send(
/*this.ws?.send(
JSON.stringify(
new Protocol.SetApplicationConfigRequestEntity(
0,
@ -712,6 +712,15 @@ export default class ClientConnection {
wall_col.toString()
)
)
);*/
this.ws?.send(
JSON.stringify(
new Protocol.SetApplicationConfigRequestEntity(
0,
"wall_row_col",
wall_row.toString() + "X" + wall_col.toString()
)
)
);
}