2024-02-27 新建uni项目【uni-ui模板】在pc端浏览发现无法选中文本 ==》 给页面的.uni-body类设置user-select: text;即可

rt,请在全局样式中加入:

.uni-body {
    user-select: text;
}

即可,text表示选中文本,none表示禁止选中文本,本来我想在uni-modules中修改user-select的值,发现无效,遂在App.vue中修改了全局样式。

posted @ 2024-02-27 10:35  叶乘风  阅读(25)  评论(0编辑  收藏  举报