跳转外链只能h5,公众号可以实现,小程序不支持跳转外链
链接必须是http / https 开头 否则跳转是 路由后面拼接上跳转地址
// #ifdef H5
window.location.href=http://www.baidu.com;
// #endif
跳转外链只能h5,公众号可以实现,小程序不支持跳转外链
链接必须是http / https 开头 否则跳转是 路由后面拼接上跳转地址
// #ifdef H5
window.location.href=http://www.baidu.com;
// #endif