APICloud openFrameGroup如何切换时刷新

切换frame组中的页面时,是不会每次都刷新的;

但是如果想要每次刷新,获取最新数据,该如何是好?

setFrameGroupIndex来帮你:

api.setFrameGroupIndex({
    name: 'group1',
    index: index,
    reload: true // 设置为true
});

 

author:Lik
Endeavoring to powerless, struggling to move yourself.
原文地址:https://www.cnblogs.com/likwin/p/10904034.html