localStorage保存数据加入返回成功与否