liyongli 2 年之前
父節點
當前提交
9664a38dd7
共有 1 個文件被更改,包括 1 次插入2 次删除
  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 => {