nvue直播间需要调整分享样式
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import ToolbarItemContainer from '../toolbar-item-container/index.vue'
|
||||
import { isUniFrameWork } from '../../../../utils/env'
|
||||
import { navigateTo } from '../../../../../utils/router'
|
||||
import { getAnchorDetail } from '../../../../../api/tui-kit'
|
||||
import { getAnchorDetail, getLiveId } from '../../../../../api/tui-kit'
|
||||
import { useUI } from '../../../../../utils/use-ui'
|
||||
|
||||
const { showDialog } = useUI()
|
||||
@@ -44,11 +44,13 @@
|
||||
return
|
||||
}
|
||||
if (stateData.value === 1) {
|
||||
const { data } = await getLiveId()
|
||||
// 跳转到开播页面
|
||||
uni.$liveID = data
|
||||
uni.navigateTo({
|
||||
url: `/pages/anchor/index?groupId=${encodeURIComponent(
|
||||
props.groupId
|
||||
)}&creatorType=1`
|
||||
)}&creatorType=1&roomId=${data}`
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user