# 开发平台

# 飞书

# 网页应用

1、如果是 ios,需要添加顶部间距 2、传参要用history路由模式

created() {
    const self = this;
    window.h5sdk.device.base.getSystemInfo({
        onSuccess: function(result) {
            if (result.platform.toLocaleLowerCase() == "ios") {
                self.isIOS = true;
            }
        }
    })
}

# 小组件

1、通过 getContainerRect 获取容器宽高。自适应高度时,不需要设置。

上次更新: 12/2/2021, 5:39:17 PM