Commit b04ec87d by zhanghaozhe

大咖直播

parent ba3c79fc
...@@ -63,7 +63,11 @@ class Live extends Component { ...@@ -63,7 +63,11 @@ class Live extends Component {
} }
toLiveRoom = id => { toLiveRoom = id => {
if (this.state.isApp) {
SendMessageToApp('toLiveRoom', id) SendMessageToApp('toLiveRoom', id)
} else {
window.location.href = `${window.location.protocol}//www.julyedu.com/live/m_room/${id}`
}
} }
makeSubscribe = 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