@ -253,11 +253,11 @@ namespace CK.SCP.Models
{
get
//if (_LangauageList == null || _LangauageList.Count == 0)
//{
// 为了及时性 每次都直接读取
if (_LangauageList == null || _LangauageList.Count == 0)
//// 为了及时性 每次都直接读取
_LangauageList = ScpDb.TA_LANGUAGE.ToList();
//}
}
return _LangauageList;
@ -1242,11 +1242,11 @@ namespace SCP
if (!string.IsNullOrEmpty(p_key))
List<TA_LANGUAGE> _ls = null;
//if (Application["LanguageList"] == null)
if (Application["LanguageList"] == null)
Application["LanguageList"] = ScpCache.LangauageList;
_ls = Application["LanguageList"] as List<TA_LANGUAGE>;
if (_ls != null)