提交 ac3719f7 编写于 作者: 陈晨

fix:修复textarea在ios13上margin问题

上级 2d3847d4
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
focusSync: this.focus, focusSync: this.focus,
height: 0, height: 0,
focusChangeSource: '', focusChangeSource: '',
isIOS: String(navigator.platform).indexOf('iP') === 0 && String(navigator.vendor).indexOf('Apple') === 0 isIOS: String(navigator.platform).indexOf('iP') === 0 && String(navigator.vendor).indexOf('Apple') === 0 && String(navigator.appVersion).split('OS ')[1].split('_')[0] < 13
} }
}, },
computed: { computed: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册