你好,请问你的意思是否是:
在客户端运行[currentInstallation refreshInBackgroundWithBlock]后,当前设备在服务器中的数据,channels字段中的数据会消失?

如果是这个意思,根据我的测试,是没问题的。请你再提供一下详细的复现场景。

不是会消失,是refreshInBackgroundWithBlock后本不该出现的channels字段在本地也会出现,服务器上的已经删了,刷新之后本地还是原来的数据 但是updateAt字段又是与服务器一致的

你的意思是否指:
1、
运行[currentInstallation removeObject:@"Giants" forKey:@"channels"];
[currentInstallation refreshInBackgroundWithBlock]

2、
在refreshInBackgroundWithBlock中,currentInstallation的channels依然会显示已经移除的channel信息?

用AVCloud callFunctionInBackground 在通过云端部署的代码清空channels之后然后在本地调用刷新数据时 channels字段还是跟删除前一样 而updateAt字段已经更新

你好,云代码的操作,本地客户端不知道。
建议在云代码操作后,本地再自行fetch一下。

fetch与refresh都是一样的结果

要确保先在云端操作成功,并存储到了服务器中的数据库中,再fetch