- 更新前端支持触控操作
This commit is contained in:
@@ -155,3 +155,11 @@ export async function updateState(state) {
|
||||
body: JSON.stringify({ state }),
|
||||
});
|
||||
}
|
||||
|
||||
// ============ Display Commands ============
|
||||
export async function sendDisplayCommand(action) {
|
||||
return request('/api/display-command', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ action }),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user