1.v-if和v-show有什么区别? v-show将元素隐藏是在dom节点上加style=’display:none’ v-if是直接将元素完全去掉 转载于:https://www.cnblogs.com/ft039x/p/10768624.html