上网上翻了翻,共找到两种方式
CSS样式控制,只需将下面代码复制到 vue应用下,index.html文件中的body标签上
*{
-webkit-touch-callout:none; /*系统默认菜单被禁用*/
-webkit-user-select:none; /*webkit浏览器*/
-khtml-user-select:none; /*早期浏览器*/
-moz-user-select:none;/*火狐*/
-ms-user-select:none; /*IE10*/
user-select:none;
}
input{
-webkit-user-select:au
- 1
- 2
前往页