v-show和v-if区别

本质区别: v-if()是直接删除或添加当前元素,v-show()是设置样式:display:block  display:none

原文地址:https://www.cnblogs.com/qianqiang0703/p/13628686.html