你想点击第一个不做一些事件做正则判断

   let reg = /^0-[0-99999]+$/;
   let isTrue = reg.test(e.node.pos);

点击第一个不展示数据,点击第二层展示数据

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐