From 838b275cbd329316d45a125a793f4abd7948b49b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期日, 23 一月 2022 17:20:26 +0800 Subject: [PATCH] 场景更新异常问题 --- HDL_ON/Entity/Function/Function.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 3772dc2..ca8413a 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -556,6 +556,13 @@ SaveFunctionFile(); if (pack.Code == StateCode.SUCCESS) { + if (UI.RoomPage.bodyView != null) + { + Application.RunOnMainThread(() => + { + UI.RoomPage.bodyView.ReLoadPage(); + }); + } } else { -- Gitblit v1.8.0