let menu = new Map<string,Menu>;
localStorage.setItem("menu", JSON.stringify(menu));
then look at the localStorage in the Application of the browser, and the corresponding value of menu is {}
.let menu = new Map<string,Menu>;
localStorage.setItem("menu", JSON.stringify(menu));
then look at the localStorage in the Application of the browser, and the corresponding value of menu is {}
. JSON does not support map
yo
students, I have a question to ask you. Our current project technology stack is ng6+ts,. The problem now is that there is a problem when using the ztree plug-in: ztree configuration ** * ztree * setting: any = { data:{ ...