fix: 修正ws消息类型
This commit is contained in:
@@ -5,7 +5,7 @@ import { message, notification } from 'ant-design-vue'
|
|||||||
export type WebSocketStatus = '连接中' | '已连接' | '已断开' | '连接错误'
|
export type WebSocketStatus = '连接中' | '已连接' | '已断开' | '连接错误'
|
||||||
|
|
||||||
// WebSocket消息类型
|
// WebSocket消息类型
|
||||||
export type WebSocketMessageType = 'Signal' | 'Progress' | 'Result' | 'Error' | 'Notify'
|
export type WebSocketMessageType = 'Update' | 'Message' | 'Info' | 'Signal'
|
||||||
|
|
||||||
// WebSocket基础消息接口
|
// WebSocket基础消息接口
|
||||||
export interface WebSocketBaseMessage {
|
export interface WebSocketBaseMessage {
|
||||||
|
|||||||
Reference in New Issue
Block a user