|
@@ -418,7 +418,7 @@ const onGetOuT = (data) => {
|
|
|
const startFollow = (app) => {
|
|
|
app.Connect.follow.start({ follow: role.value == "customer" });
|
|
|
|
|
|
- store.commit("rtc/setUserId", browser.getURLParam("userId") || `user_${role.value}_${Math.floor(Math.random() * 100000000)}`);
|
|
|
+ store.commit("rtc/setUserId", browser.getURLParam("vruserId") || `user_${role.value}_${Math.floor(Math.random() * 100000000)}`);
|
|
|
store.commit("rtc/setRoomId", browser.getURLParam("roomId") || Math.floor(Math.random() * 100000000));
|
|
|
|
|
|
socket.value.on("connect", () => {
|
|
@@ -483,14 +483,14 @@ const startFollow = (app) => {
|
|
|
val: user_info.value.RoomId,
|
|
|
},
|
|
|
{
|
|
|
- key: "userId",
|
|
|
+ key: "vruserId",
|
|
|
val: user_info.value.UserId,
|
|
|
},
|
|
|
]);
|
|
|
} else {
|
|
|
tmp = getUrl(window.location.href, [
|
|
|
{
|
|
|
- key: "userId",
|
|
|
+ key: "vruserId",
|
|
|
val: user_info.value.UserId,
|
|
|
},
|
|
|
]);
|