11.巨坑,注意了,关于显示不正常的问题,localstorage的存储问题 在存储时,localstorage和sessionstorage只能存储字符串,所以,必须把json转换为字符串再存,JSON.stringify