liyongli 2 年之前
父節點
當前提交
4a9d7ce693
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/view/chatGptChatNew/index.vue

+ 0 - 4
src/view/chatGptChatNew/index.vue

@@ -30,7 +30,6 @@
       placeholder="请输入您的问题"
       type="textarea"
       @focus="focus"
-      @blur="blur"
     >
       <template #button>
         <van-button
@@ -139,9 +138,6 @@ function focus() {
   if (!isIpad && !isIpod && !isIphone) return;
   !inputText.value && (inputText.value = ' ');
 }
-function blur() {
-  inputText.value == ' ' && (inputText.value = '');
-}
 </script>
 <style lang="scss">
 .chatGptChat {