From 71cb7da4d443c527ceccc302815f6cfff5bde671 Mon Sep 17 00:00:00 2001 From: zhangtao <1176193409@qq.com> Date: Mon, 24 Oct 2022 09:37:35 +0800 Subject: [PATCH] string userid --- src/views/home/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 668b624..13d578f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -474,8 +474,10 @@ 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 } } @@ -518,6 +520,7 @@ export default { const { userId, roomId } = route.query data.userId = String(userId) data.roomId = Number(roomId) + alert(userId, roomId) await handleSig() })