lrf402788946 4 年之前
父节点
当前提交
febb5b4f19

+ 2 - 0
src/components/parts/chat.vue

@@ -66,6 +66,8 @@ export default {
     // this.enterListen();
     this.$set(this, 'dock_id', this.$route.query.id);
     this.search();
+  },
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/layout/market/parts/chat.vue

@@ -42,7 +42,7 @@ export default {
     };
   },
   created() {},
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/layout/userCenter/menuInfo.vue

@@ -88,7 +88,7 @@ export default {
     this.$set(this, `num`, this.$route.query.num);
     this.onMessage();
   },
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/exporthall/parts/chat.vue

@@ -63,7 +63,7 @@ export default {
   async created() {
     this.search();
   },
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/hall/dock/parts/chat.vue

@@ -42,7 +42,7 @@ export default {
     };
   },
   created() {},
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/hall/newParts/videoSwiper.vue

@@ -88,7 +88,7 @@ export default {
       this.changeMenu(num, newarr);
     },
   },
-  mounted() {
+  async mounted() {
     this.channelvideo();
   },
   computed: {

+ 1 - 1
src/views/halltwo/directTwo.vue

@@ -383,7 +383,7 @@ export default {
     await this.searchInfo();
     await this.seachtVideo();
   },
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/halltwo/parts/dockchat.vue

@@ -61,7 +61,7 @@ export default {
     this.$set(this, 'dock_id', this.$route.query.id);
     this.search();
   },
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/halltwo/parts/xmdjchat.vue

@@ -44,7 +44,7 @@ export default {
     };
   },
   created() {},
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/market/parts/chat.vue

@@ -43,7 +43,7 @@ export default {
     };
   },
   created() {},
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/technical/gzcy/chat.vue

@@ -52,7 +52,7 @@ export default {
     this.$set(this, 'dock_id', '123456');
     this.search();
   },
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/userCenter/message/index.vue

@@ -39,7 +39,7 @@ export default {
   created() {
     this.search();
   },
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 1 - 1
src/views/userCenter/message/parts/chat.vue

@@ -44,7 +44,7 @@ export default {
     };
   },
   created() {},
-  mounted() {
+  async mounted() {
     this.channel();
   },
   methods: {

+ 3 - 3
vue.config.js

@@ -26,15 +26,15 @@ module.exports = {
         ws: true,
       },
       '/files': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://broadcast.waityou24.cn/',
       },
       '/api': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://broadcast.waityou24.cn/',
         changeOrigin: true,
         ws: true,
       },
       '/ws': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://broadcast.waityou24.cn/',
         ws: true,
       },
     },