在safari浏览器中需要去除mouseup的默认行为才能实现选中。

This commit is contained in:
angela-1 2018-04-14 21:45:44 +08:00
parent e7bcd38124
commit 3d4fd6df55
2 changed files with 6 additions and 0 deletions

View file

@ -26,6 +26,7 @@
@blur="blur"
@keydown.stop="keyDown"
@input="change"
@mouseup="preventDefault"
@change="change"
:readonly="readonly || !editable"
:name="name"