From c5a1b1eb5f845f72b0b3e48fc8c7ccf75cee5831 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 09 十月 2018 10:30:32 +0800
Subject: [PATCH] Merge branch 'master' into 3687天赋功能

---
 System/Store/StoreWin.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/System/Store/StoreWin.cs b/System/Store/StoreWin.cs
index 7c4d282..c708fad 100644
--- a/System/Store/StoreWin.cs
+++ b/System/Store/StoreWin.cs
@@ -146,6 +146,8 @@
 
         protected override void OnPreClose()
         {
+            m_storeModel.ClearAllPetAndMountRedpoint(StoreFunc.WeekStore);
+            m_storeModel.storeFuncType = StoreFunc.WeekStore;
             m_storeModel.shoplist.Clear();
             m_storeModel.RefreshBuyShopLimitEvent -= OnCreate;
             GlobalTimeEvent.Instance.secondEvent -= RefreshResetTime;
@@ -432,6 +434,7 @@
 
         private void OnClickIntegralStore()
         {
+            m_storeModel.ClearAllPetAndMountRedpoint(StoreFunc.IntegralStore);
             m_storeModel.shoplist.Clear();
             m_storeModel.storeFuncType = StoreFunc.IntegralStore;
             OnCreate();
@@ -441,6 +444,7 @@
 
         private void OnClickBindStore()
         {
+            m_storeModel.ClearAllPetAndMountRedpoint(StoreFunc.BindStore);
             m_storeModel.shoplist.Clear();
             m_storeModel.storeFuncType = StoreFunc.BindStore;
             OnCreate();
@@ -450,6 +454,7 @@
 
         private void OnClickStrengthStore()
         {
+            m_storeModel.ClearAllPetAndMountRedpoint(StoreFunc.GrowStrongerStore);
             m_storeModel.shoplist.Clear();
             m_storeModel.storeFuncType = StoreFunc.GrowStrongerStore;
             OnCreate();
@@ -459,6 +464,7 @@
 
         private void OnClickCommonStore()
         {
+            m_storeModel.ClearAllPetAndMountRedpoint(StoreFunc.CommonStore);
             m_storeModel.shoplist.Clear();
             m_storeModel.storeFuncType = StoreFunc.CommonStore;
             OnCreate();
@@ -468,6 +474,7 @@
 
         private void OnClickWeekStore()
         {
+            m_storeModel.ClearAllPetAndMountRedpoint(StoreFunc.WeekStore);
             m_storeModel.storeFuncType = StoreFunc.WeekStore;
             OnCreate();
             RefreshResetTime();

--
Gitblit v1.8.0