在body添加 onselectstart="return false;"即可
防止点击展开树的文字被选中
原文:https://www.cnblogs.com/onceweb/p/12165070.html