string userid

This commit is contained in:
zhangtao 2022-10-24 09:39:42 +08:00
parent 71cb7da4d4
commit a91424d995
1 changed files with 0 additions and 3 deletions

View File

@ -474,10 +474,8 @@ export default {
* @return {*}
*/
const handleSig = async() => {
alert('1111')
const res = await axios.get(`https://hhz.test.t-aaron.com/api/tencentCloudRtc/genUserSig/${data.userId}`)
if (res.data.code === 0) {
alert('2222')
data.userSig = res.data.data.userSig
}
}
@ -520,7 +518,6 @@ export default {
const { userId, roomId } = route.query
data.userId = String(userId)
data.roomId = Number(roomId)
alert(userId, roomId)
await handleSig()
})