gemercheung 3 年之前
父節點
當前提交
18236607b1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/main/command/test.mjs

+ 1 - 1
packages/main/command/test.mjs

@@ -29,7 +29,7 @@ let agentId = 0;
 
 const createAgent = () => {
   agentId += 1;
-  const nickName = `test_name_${agentId}`;
+  const nickName = `test_name_${userStartId}${agentId}`;
   const userId = `${userStartId}${agentId}`;
   const role = agentId === 1 ? "leader" : "customer";
   createClient({ userId, nickName, from: "0", role: role });