优化页面
This commit is contained in:
@@ -121,9 +121,7 @@ onLoad((options) => {
|
||||
initChat(options);
|
||||
try{
|
||||
myitem.value = JSON.parse(options.myitem);
|
||||
console.log(myitem.value);
|
||||
youritem.value = JSON.parse(options.youritem);
|
||||
console.log(youritem.value);
|
||||
counter.$patch({ youritem: youritem.value });
|
||||
setTimeout(() => {
|
||||
sendCustomMessage(myitem.value, youritem.value);
|
||||
@@ -200,8 +198,6 @@ function sendCustomMessage(myitem, youritem) {
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
console.log("发送成功", res.data);
|
||||
|
||||
const keyid = generateMsgId();
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user