liyongli 2 years ago
parent
commit
9664a38dd7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/view/qh/index.vue

+ 1 - 2
src/view/qh/index.vue

@@ -176,8 +176,7 @@ function saveText() {
   const t = inputText.value;
   inputText.value = '';
   
-  if(chatlist.value.length > 12){
-    chatlist.value.shift();
+  if(chatlist.value.length > 5){
     chatlist.value.shift();
   }
   createSocket(ws => {