1.不管是v-if 和 ng-if 都未生成dom结果 2.vue 的tempalate 中 div下需要再加个div才能渲染 转载于:https://www.cnblogs.com/liris/p/7474944.html