liuyu 4 سال پیش
والد
کامیت
3fecc68e82
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      src/layout/live/detailmetting.vue
  2. 1 1
      src/plugins/setting.js
  3. 1 1
      vue.config.js

+ 1 - 1
src/layout/live/detailmetting.vue

@@ -65,7 +65,7 @@
             </el-col>
             <el-col :span="24" class="chatInput">
               <el-col :span="19" class="input">
-                <el-input type="textarea" v-model="content"></el-input>
+                <el-input type="textarea" maxlength="5000" show-word-limit v-model="content"></el-input>
               </el-col>
               <el-col :span="5" class="btn">
                 <el-button type="primary" size="mini" @click="chatCreate">发送</el-button>

+ 1 - 1
src/plugins/setting.js

@@ -7,7 +7,7 @@ Vue.config.weixin = {
 
 Vue.config.stomp = {
   // brokerURL: 'ws://192.168.1.190:15674/ws',
-  brokerURL: '/ws', // ws://${location.host}/ws
+  brokerURL: '/wss', // ws://${location.host}/ws
   connectHeaders: {
     host: 'live',
     login: 'live',

+ 1 - 1
vue.config.js

@@ -33,7 +33,7 @@ module.exports = {
         changeOrigin: true,
         ws: true,
       },
-      '/ws': {
+      '/wss': {
         target: 'https://zb.liaoningdoupo.com',
         ws: true,
       },