sa03 5 年之前
父節點
當前提交
7a85aadbe2
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      _src/components/chatMini/chatMini.vue
  2. 3 3
      _src/mixins/index.js

+ 1 - 1
_src/components/chatMini/chatMini.vue

@@ -28,7 +28,7 @@
         <div class="box-bd" ref="msgBox">
           <div ref="scrollWrap"
             @scroll.prevent="handleScroll"
-            @touchstart.stop="fixIOS(false)"
+
             class="scroller"
           >
             <div ref="msgWrap" class="msg-wrap">

+ 3 - 3
_src/mixins/index.js

@@ -79,7 +79,7 @@ export const chatInputMixin = {
   },
   watch: {
     inputMsg (val, newval) {
-      this.fixIOS()
+      // this.fixIOS()
 
       this.handleSelectionChange()
     }
@@ -104,12 +104,12 @@ export const chatInputMixin = {
       return false
     },
     handleFocus () {
-      this.fixIOS()
+      // this.fixIOS()
 
       document.addEventListener('selectionchange', this.handleSelectionChange)
     },
     handleBlur () {
-      this.fixIOS(false)
+      // this.fixIOS(false)
 
       document.removeEventListener('selectionchange', this.handleSelectionChange)
       this.updateChatInputFocus(false)