display:node是在文档流看不到了,但是节点还在,你写的代码(节点)还在 还能获取节点 在vue中v-if ,直接连节点也没有了,所以不能获取节点 在vue中v-show ,就是display:none