From 0702704e0a520299c14489a43fbc5a22a8e5bf48 Mon Sep 17 00:00:00 2001 From: fangxiang Date: Sat, 12 Feb 2022 12:23:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=89=A7=E8=A1=8C=E9=A2=84?= =?UTF-8?q?=E6=A1=88=E6=97=B6=EF=BC=8C=E7=A6=81=E6=AD=A2=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/RemoteDataExangeProcesser.ts | 2 ++ src/components/ModeTree.vue | 8 ++++++- src/components/Window.vue | 27 +++++++++++++++++++++ src/pages/MediaControlPage.vue | 27 ++++----------------- src/pages/TopToolBar.vue | 31 +++++++------------------ src/pages/WallPage.vue | 17 ++++---------- src/store/index.ts | 5 ++++ 7 files changed, 59 insertions(+), 58 deletions(-) diff --git a/src/common/RemoteDataExangeProcesser.ts b/src/common/RemoteDataExangeProcesser.ts index 67ea912..9b2e247 100644 --- a/src/common/RemoteDataExangeProcesser.ts +++ b/src/common/RemoteDataExangeProcesser.ts @@ -81,6 +81,7 @@ export default class RemoteDataExangeProcesser { ) as Protocol.PlanRunningStateChangeNotifyEntity; if (temp && temp.plan) { if (temp.running) { + $store.commit("setCurrentRunningPlan", temp.plan.uuid); if (this.plan_notify) { this.plan_notify(void 0); this.plan_notify = null; @@ -99,6 +100,7 @@ export default class RemoteDataExangeProcesser { "!", }); } else { + $store.commit("setCurrentRunningPlan", ""); if (this.plan_notify) { this.plan_notify(void 0); this.plan_notify = null; diff --git a/src/components/ModeTree.vue b/src/components/ModeTree.vue index 8318711..10058ad 100644 --- a/src/components/ModeTree.vue +++ b/src/components/ModeTree.vue @@ -8,9 +8,13 @@