|
|
@ -38,7 +38,7 @@ export const sendControl = async (params: any, type?: string) => { |
|
|
|
socket.init((data: any) => { |
|
|
|
systemStore.pushSystemList(data) |
|
|
|
}, 'cmd_response') |
|
|
|
await (type ? control(params) : debugControl(params)) |
|
|
|
await (type === 'debug' ? debugControl(params) : control(params)) |
|
|
|
systemStore.updateStreamVisible(true) |
|
|
|
FtMessage.success(`[${cmdName}]已发送`) |
|
|
|
// if (!res.ok) {
|
|
|
|