Commit b04ec87d by zhanghaozhe

大咖直播

parent ba3c79fc
......@@ -63,7 +63,11 @@ class Live extends Component {
}
toLiveRoom = id => {
SendMessageToApp('toLiveRoom', id)
if (this.state.isApp) {
SendMessageToApp('toLiveRoom', id)
} else {
window.location.href = `${window.location.protocol}//www.julyedu.com/live/m_room/${id}`
}
}
makeSubscribe = id => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment