我有以下代码:
var WindowObject = window.open("/cur/cases-c-print", "PrintWindow");
WindowObject.SettingsStore = SettingsStore;
但是,在WindowObject的init()中,它需要具有SettingsStore。我相信以下情况正在发生:
相反,我需要做类似的事情:
var WindowObject = new window("/cur/cases-c-print", "PrintWindow");
WindowObject.SettingsStore = SettingsStore;
WindowObject.open();
OR
var WindowObject = window.open("/cur/cases-c-print", "PrintWindow", SettingsStore);
这可能吗?