提交 153783ca 作者: 施汉文

🐞 fix: 修复二维码发送bug

上级 a7a34287
...@@ -1197,13 +1197,15 @@ export default { ...@@ -1197,13 +1197,15 @@ export default {
// }, // },
// }, // },
// ]; // ];
const image = { // const image = {
picurl: uploadResult.data, // picurl: uploadResult.data,
}; // };
this.sendChatMessage(image, "image"); // console.log(image, 12312321);
this.sendChatMessage(uploadResult.data, "image");
this.markTransScene(type); this.markTransScene(type);
item.type = 1; items.type = 1;
this.sendGameLog(item); this.sendGameLog(items);
this.$message.success("二维码发送成功"); this.$message.success("二维码发送成功");
} else { } else {
throw new Error("上传失败"); throw new Error("上传失败");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论