修复bug
This commit is contained in:
parent
b0bda8b7d4
commit
2818818f03
@ -28,6 +28,8 @@ namespace QFramework.Example
|
|||||||
protected override void OnOpen(IUIData uiData = null)
|
protected override void OnOpen(IUIData uiData = null)
|
||||||
{
|
{
|
||||||
mData = uiData as UIPointQuestionData ?? new UIPointQuestionData();
|
mData = uiData as UIPointQuestionData ?? new UIPointQuestionData();
|
||||||
|
|
||||||
|
Content.RemoveAllChildren();
|
||||||
var paths = mData.paths.Split(',');
|
var paths = mData.paths.Split(',');
|
||||||
for (int i = 0; i < paths.Length; i++)
|
for (int i = 0; i < paths.Length; i++)
|
||||||
{
|
{
|
||||||
@ -60,11 +62,11 @@ namespace QFramework.Example
|
|||||||
|
|
||||||
protected override void OnHide()
|
protected override void OnHide()
|
||||||
{
|
{
|
||||||
|
pointMap.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnClose()
|
protected override void OnClose()
|
||||||
{
|
{
|
||||||
pointMap.Clear();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user