最近搜索


没有最近搜索

Can't retrieve localStorage on testing



已于 2021年5月27日 发布

Hi,

I'm trying to retrieve data from localStorage on testing, but it's not possible since data is stored in localhost context (and not top).

I'm using the code snippet from your docs to set and get localStorage data. What should I change to get data?


0

1

1 条评论

image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Eduardo,

When I test a sample app locally that sets localStorage items I'm able to read them successfully. Can you provide some more details about your app (app locations, etc.) and relevant code where you're setting and retrieving localStorage items?

Thanks,

0


请先登录再写评论。

找不到所需的内容?

新建帖子