|
|
@@ -252,6 +252,8 @@ Ext.define('saas.view.viewport.ViewportController', {
|
|
|
if (this.ipc) {
|
|
|
this.ipc.send('session.change', sessionStr);
|
|
|
} else {
|
|
|
+ //解析session 把data作为sessionStr
|
|
|
+ sessionStr = session ? JSON.stringify(session.data) : '';
|
|
|
const frame = window.frames[window.frames.length - 1];
|
|
|
frame.postMessage(sessionStr, '*');
|
|
|
}
|