uniapp 跳转外部链接

项目上需要根据需求进行外部链接跳转

H5

 window.location.href = `http://${jumpUrl}`;

移动端

 plus.runtime.openURL(`http://${jumpUrl}`)

在这里插入图片描述