Document

条件判断:

v-if:

条件判断使用 v-if 指令:

v-else-if:(其实和Java,c,js的语法差不多)

v-show:

 

原文地址:https://www.cnblogs.com/chenyanlong/p/9503241.html