我将PublicationdtoService []自定义对象数组存储在会话存储
中_publicationList: PublicationdtoService[] = [];
sessionStorage.setItem('sessionPublicationList',JSON.stringify(this._publicationList));
并从对象中取回
this._publicationList =<PublicationdtoService[]> (JSON.parse(sessionStorage.getItem('sessionPublicationList')));
Console.log(this._publicationList);
但是我在Object []表单中得到响应而不是PublicationdtoService []表单。我该怎么办?
控制台中的请帮助