this.CtmsWebSocket = new CtmsWebSocket(/socket-msg?token=${this.$store.state.user.token}, {
params: { name: this.$store.state.user.info.id },
t: this,
subscirbeList: [
{
url: '/user/queue/message',
callback(body) { if (isNotice) { this.$Notice.open({
title: '您收到新消息',
desc: body.message,
duration: 5,
});
}
},
},
],
});
$Notice找不到,请问是怎么回事呢
添加回答
举报
0/150
提交
取消