diff --git a/src/app/babylon/view/mark-window/mark-window.ts b/src/app/babylon/view/mark-window/mark-window.ts index 49bb2b5..6bd1199 100644 --- a/src/app/babylon/view/mark-window/mark-window.ts +++ b/src/app/babylon/view/mark-window/mark-window.ts @@ -1619,7 +1619,9 @@ export class MarkWindow extends UIBase { * @param name * @param data */ - saveToSandBoxTemplate(id: number, name: string, data: MarkPlanData) { + saveToSandBoxTemplate(data: MarkPlanData) { + let name: string = data.name; + let id: number = new Date().getTime(); let instance = this; ServeManager.instance.saveOneMarkTemplate(id, name, data, (data: string) => {