新增PreLoad模块
This commit is contained in:
parent
7414d53f40
commit
bbef85004f
@ -141,12 +141,16 @@ namespace XMLTool
|
|||||||
|
|
||||||
// 解析预加载动作
|
// 解析预加载动作
|
||||||
var preLoadElement = appDataElement.Element("PreLoad");
|
var preLoadElement = appDataElement.Element("PreLoad");
|
||||||
foreach (XElement actionElement in preLoadElement.Elements("Action"))
|
if (preLoadElement!=null)
|
||||||
{
|
{
|
||||||
var action = ParseAction(actionElement);
|
foreach (XElement actionElement in preLoadElement.Elements("Action"))
|
||||||
appData.preLoad.action = action;
|
{
|
||||||
|
var action = ParseAction(actionElement);
|
||||||
|
appData.preLoad.action = action;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 加载模块数据
|
// 加载模块数据
|
||||||
LoadModules(appDataElement, appData);
|
LoadModules(appDataElement, appData);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user