From 9d15f7a2c309cb859d5ed0f61e4eb2cac57e3507 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 22 六月 2020 17:34:52 +0800 Subject: [PATCH] 2020-06-22-1 --- HDL_ON/Entity/DB_ResidenceData.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs index eb8ea48..9f4dfd5 100644 --- a/HDL_ON/Entity/DB_ResidenceData.cs +++ b/HDL_ON/Entity/DB_ResidenceData.cs @@ -474,7 +474,8 @@ { MainPage.Log($"浣忓畢鏁版嵁鍒濆鍖栧け璐ワ細{ex.Message}"); } - instance.residenceImage = "Classification/Room/Roombg.png"; + if (instance!=null) { + instance.residenceImage = "Classification/Room/Roombg.png";} //鍒濆鍖栦綇瀹呭姛鑳芥暟鎹� InitRoomFunction(); -- Gitblit v1.8.0