|
|
|
@ -179,6 +179,7 @@ export class MarkWindow extends UIBase {
|
|
|
|
|
onShow() { |
|
|
|
|
super.onShow(); |
|
|
|
|
let instance = this; |
|
|
|
|
instance.getAllSandBoxTemplate();//获取模板
|
|
|
|
|
if (this.allMarkPlanData == null) { |
|
|
|
|
DataManager.initMarkData((data: AllMarkPlanData) => { |
|
|
|
|
instance.onGetAllMarkPlanData(data); |
|
|
|
@ -1597,7 +1598,12 @@ export class MarkWindow extends UIBase {
|
|
|
|
|
let instance = this; |
|
|
|
|
this.allSandBoxTemplate = []; |
|
|
|
|
ServeManager.instance.getAllMarkTemplate((data: string) => { |
|
|
|
|
if (data == null) { |
|
|
|
|
instance.allSandBoxTemplate = []; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|