修改
This commit is contained in:
parent
6ce30aaee2
commit
0bcf2b796e
@ -10,9 +10,9 @@ export const commonTopic = '/topic/message'; // 公共topic(不区分用户)
|
||||
|
||||
// 建立连接并订阅地址
|
||||
export function creatSubscribe(topic, header) {
|
||||
// if ([displayTopic, planTopic, designDisplayTopic].includes(topic)) {
|
||||
// topic = `${topic}/${header.group}`;
|
||||
// }
|
||||
if ([displayTopic, planTopic, designDisplayTopic].includes(topic)) {
|
||||
topic = `${topic}/${header.group}`;
|
||||
}
|
||||
|
||||
try {
|
||||
if (!Vue.prototype.$stomp) {
|
||||
|
Loading…
Reference in New Issue
Block a user