openSuposPage

打开supOS天坊页面

APP最低版本: 3.1.0

参数 params

属性 类型 含义 默认 必须 APP版本
title string 天坊WebView导航栏的名字(如:兰溪3号机组流程图)
url string 天坊WebView完整的url路径(如:http://192.168.8.80:8080/#/runtime-fullscreen/runtime-fullscreen/Page_c65f336a26b54bfa8bd92af36efc4296)
appId string 天坊WebView对应supLink小程序的appId(如:03fc93435d404a099a4f0f150c7f468e为监控画面小程序)

返回 Promise<response>

属性 类型 含义 APP版本
code string 200:成功 | 404:失败
msg string 响应信息
data unknown 响应数据

示例

import { openSuposPage } from '@suplink/jssdk';

openSuposPage({ title: '兰溪3号机组流程图', url: 'http://192.168.8.80:8080/#/runtime-fullscreen/runtime-fullscreen/Page_c65f336a26b54bfa8bd92af36efc4296', appID: '03fc93435d404a099a4f0f150c7f468e}).then((res) => console.log(res))