美文网首页
长按出现复制或者取消

长按出现复制或者取消

作者: Do_Du | 来源:发表于2019-06-05 16:47 被阅读0次

希望长按出现复制在App.vue 中,加样式 -webkit-user-select: text;

#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  width: 100%;
  height:100%;
  background: #F4F4F4;
  -webkit-user-select: text;
}

希望取消长按出现复制

* {
-webkit-touch-callout:none;
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}

相关文章

网友评论

      本文标题:长按出现复制或者取消

      本文链接:https://www.haomeiwen.com/subject/bnjsxctx.html