diff --git a/package.json b/package.json index 53cbe2d..fa68487 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "media_player_client", - "version": "1.2.0", + "version": "1.2.1", "description": "A Quasar Framework app", "productName": "MediaPlayerClient", "author": "fangxiang ", diff --git a/src/common/ClientConnection.ts b/src/common/ClientConnection.ts index a354ef7..6052220 100644 --- a/src/common/ClientConnection.ts +++ b/src/common/ClientConnection.ts @@ -506,10 +506,7 @@ export default class ClientConnection { public focusIn(window_id: number) { this.ws?.send( JSON.stringify( - new NormalWindowRequestEntity( - Protocol.Commands.kFocuseWindow, - window_id - ) + new NormalWindowRequestEntity(Protocol.Commands.kFocusWindow, window_id) ) ); } diff --git a/src/common/EventBus.ts b/src/common/EventBus.ts index 46c3b98..2a64a7d 100644 --- a/src/common/EventBus.ts +++ b/src/common/EventBus.ts @@ -19,7 +19,6 @@ export default class EventBus extends EventEmitter { export namespace EventNamesDefine { export const UnKnow = "onUnKnow"; export const UnSelectAllWindows = "onUnSelectAllWindows"; - export const UnFocusAllWindows = "onUnFocusAllWindows"; export const WindowResize = "onWindowResize"; export const WindowMouseDown = "onWindowMouseDown"; export const WindowMouseMove = "onWindowMouseMove"; diff --git a/src/components/Window.vue b/src/components/Window.vue index a65b694..a83493a 100644 --- a/src/components/Window.vue +++ b/src/components/Window.vue @@ -1,16 +1,15 @@