lrf402788946 4 years ago
parent
commit
7d1a3009f2
2 changed files with 2 additions and 4 deletions
  1. 1 3
      src/components/parts/chat.vue
  2. 1 1
      src/plugins/setting.js

+ 1 - 3
src/components/parts/chat.vue

@@ -2,7 +2,7 @@
   <div id="chat">
     <el-row class="chat">
       <p class="luyanTop">
-        <span>公共聊天</span>
+        <span>公共聊天1</span>
         <span class="icon" @click="sendEmotion('flower')"><i class="iconfont icon-xianhua" style="color:red"></i>送鲜花</span>
         <span class="icon" @click="sendEmotion('hand')"><i class="iconfont icon-xin" style="color:red;"></i>鼓掌</span>
       </p>
@@ -66,8 +66,6 @@ export default {
     // this.enterListen();
     this.$set(this, 'dock_id', this.$route.query.id);
     this.search();
-  },
-  mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/plugins/setting.js

@@ -9,7 +9,7 @@ Vue.config.stomp = {
   // brokerURL: 'ws://http://free.liaoningdoupo.com/ws',
   brokerURL: '/ws', // ws://${location.host}/ws
   connectHeaders: {
-    host: 'visit',
+    host: 'platform',
     login: 'visit', //visit
     passcode: 'visit', //visit123
   },